I have subdomains, lets say site1.example.com, site2.example.com, site3.example.com and the main site example.com. My goal is to work with all traffic from site1,site2,site3 on site1.example.com except of example.com and www.example.com.Each website has personal GTM container and tracking object.How can I set subdomain tracking via GTM and exclude example.com from tracking. I've already read simoahava and lunametric posts regarding the issue but didn't find suitable answer.
How to exclude main domain from subdomain tracking in Google Analytics or GTM?
google analytics;google tag manager