Reputation: 140
We have two websites which are configured for Cross Domain Tracking using Google Tag Manager. So at some point after the window load event, Google changes all the URLs that have to be cross domain tracked by appending a Client ID. My question was however, how do we pass a query parameter from one domain to the other without breaking the cross domain tracking setup? For ex. coupon codes, etc.
Upvotes: 0
Views: 1808
Reputation: 598
What you can do here is to setup a decorate link tag in gtm.
Here is how you can learn more about this See Link / Form Decorate tag https://support.google.com/tagmanager/answer/6106951?rd=1
The other thing you can do here is that before appending your parameter check if your anchor already contain a parameter or not and append your parameter accordingly.
hope this helps,
Cheers Analytics ML
Upvotes: 2