Reputation: 11
When someone visits my site, I'd like Google Tag Manager to fire an URL in the background that sends information about the visit to my affiliate network.
For instance: https://mytrackingsoftware.com/c23r42e43223?utm_source={source}&utm_medium={medium}&some_parameter{parameter}
Let's assume I already have those parameters set as variables in GTM. How can I set GTM up to do the above and (hopefully easily) use the paramters already known to GTM?
Upvotes: 0
Views: 756
Reputation: 5208
Use a custom image tag in GTM, set it to trigger on the page that you want. The "image url" field is where you want to do your request. Like so:
Upvotes: 1