Skip to main content

Posts

Showing posts with the label gtm

Cross-domain Tracking for Different Domains and Sub-domains

If you just have a website www.website.com and your visitors can also navigate between blog.website.com, support.website.com, you DON’T need to configure cross-domain tracking. Just go to your Google Tag Manager container, open Google Analytics Settings Variable that is used by your GA tags and set Cookie Domain to auto. By default, all GA Settings Variables have it enabled. That’s it. There is no need to implement GA cross-domain tracking for subdomains. In order to make cross-domain tracking work, follow these 4 steps. Step:1 All domains abc.com, xyz.com must be tracked with the same GA property Step:2 Go to abc.com’s Google Tag Manager container, open the GA Settings Variable > More Settings > Cross-domain tracking , locate the “ Auto Link Domains ” field. In that field, you should enter the destination domain’s URL i.e. xyz.com. Once you enter the domain, save the GA Settings Variable. If it is possible for a visitor to move both ways, back and f...

Tracking Subdomains Traffic in Google Analytics

Get rid of duplicate data when user moves from one sub-domain to another on your website: Add your domain to the referral exclusion list by following these steps: Admin -> Tracking Info -> Referral Exclusion List Make sure to just add the root domain without the sub-domain or www. This will ensure that as users move between sub-domains, the session will be preserved and will not create a new session every time the user navigates between sub-domains. If you want to show the domain for all of your sub-domains in GA rather than just path , follow the filter below. Use this filter: If you want to only show the domain for a specific sub-domain then do the exact same filter above, except for the Hostname field enter ( subdomain.yoursite.com ) instead of (.*). Use this filter if you have been using Google Analytics to track your website for awhile and just added new sub-domains. Is there a way to see historical data for the sub-domains? Yes, you can see the data fo...