How does GTM implement cross domain tracking?

How does GTM implement cross domain tracking?

Here’s how you can configure cross domain tracking with Google Tag Manager.

  1. IMPORTANT: Before You Get Started.
  2. Step #1: Create an Auto Link Domains Variable.
  3. Step #2: Add the Auto Link Domains to Your Pageview Tag.
  4. Step #3: Add the allowLinker Field to Set.
  5. Step #4: IMPORTANT: Update Your Referral Exclusion List.

Can we use the same GTM container on multiple sites?

Google Tag Manager does not care about domains or subdomains If you want, you can use the same container on 5 related websites (that are hosted on different domains or subdomains). Even though (most likely) this will cause you some headaches, there are no technical limitations.

How to track cross domain and subdomain tracking?

Alternatively, you can add each subdomain individually (e.g. www.example.com, blog.example.com, shop.example.com): Cross Domain Tracking Tracking across distinct domains with Google Analytics requires a few more steps, but can still be implemented through Google Tag Manager.

How to handle cross domain tracking in Google Analytics?

Namely, this tip is about how to handle cross-domain tracking in situations where you are sending data to multiple Google Analytics properties on the same page.

How to enable subdomain tracking in Google Analytics?

Tracking across subdomains requires only a simple configuration, which you may already have enabled by default: In GTM, set the Cookie Domain field to auto. This tells Google Analytics to set its cookie on the primary portion of your domain.

How does Google Analytics work on two domains?

Google Analytics (and other cookie-based web analytics tracking tools) will see you as two separate visitors, one on the domainA.com and one on the domainB.com. And that’s a big problem. First of all, you will see too many users in your GA reports.