Configure gtag for Cross-Domain Tracking
-
Hi @specialk – Thanks for the great work and support!
Is there documentation for how to specifically use the “Custom GA Code” field?
I need to add the following to our gtag code on various sites:
gtag('config', 'GA_MEASUREMENT_ID', { 'linker': { 'domains': ['domain1.com', 'domain2.org', 'sub.domain1.com', 'sub.domain2.com', 'sub.domain3.com'] } });
Following these instructions for: Bi-directional cross-domain measurement
When I added the entire snippet, however, our GA Views stopped tracking all data. I clearly broke the gtag. What part of the code needs to be entered where?
I did find this old related support topic you resolved, but it references the old analytics.js:
AllowLinker for cross domain tracking?Any guidance is greatly appreciated. Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Configure gtag for Cross-Domain Tracking’ is closed to new replies.