Setting Up Google Universal Analytics Cross-Domain Tracking

Cross domain tracking is the ability to track a user’s session across separate domains to create a complete view of a user’s actions.

For example, if you have two domains interlinking with each other and, Google Universal Analytics, by default, would count a single user who visited both properties as two separate users with two separate sessions. By enabling cross-domain tracking, the user will be represented as a single user between both domains.

Part of the series: Google Universal Analytics Guide for iQ Tag Management

Tag Configuration

Google Universal Analytics is already enabled to track across multiple subdomains (e.g.,, If you have specific subdomains to be tracked enter them in the Domain field..

Cross-Domain Setting

  1. In the Google Universal Analytics tag configuration, toggle the Cross-Domain Tracking drop-down to On.

  2. In the Cross-Tracking Domains field, add a comma-separated list of the domains you wish to enable cross-domain tracking for.

    Do not insert a space after the commas.

  3. Save and publish your changes.


To ensure that your domains are tracking users correctly, navigate to one of your domains and click a link that takes you to your second domain. You should see the Google Universal Analytics cookie value appended in the URL and would read as _ga= with a long string of numbers.

In the screenshot below, I navigated to and clicked a link that lead me to Notice how the _ga tracking code is now in the URL:

This confirms that cross-domain tracking is working on expected from the browser.

Was this page helpful?

This page was last updated: April 30, 2018