I have two subdomains on my site that have largely been independent of each other until we just started doing promotional content on one to direct to the other. Now I'm trying to get metrics on how much one feeds into the other. Each subdomain has its own GTM Container ID (within the same account).

I saw this post on how to track traffic between subdomains using the same Container ID. But I'm curious if it's possible to show subdomain traffic using different Container IDs, or if I need to create a new global Container ID at the top level that will be used across both sites.

I also use Universal Analytics, which all the subdomains share. So if it's not possible to do it with GTM, is this sort of thing possible with Universal Analytics?

And if I do need to make any changes with the existing configuration, will it only track traffic between subdomains going forward, or is there a way to do it to retroactively filter existing data so that I can still use the last month's worth of traffic data?

1 Answer 1


You don't need to have the same container.

If the referrers report doesn't have your subdomains, then no luck. You'll have to dig deeper.

I would suggest to try using a custom report to select sessions where the hostname is equal to the first site AND to the second site.

This is a hack, however.

A better report would be having a report measuring hits where Page and Previous Page have different hostnames. That would elegantly highlight traffic and you can set the order you like.

The proper implementation here would be tracking those with GTM explicitly. GA's default tracking is pretty simplistic,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.