
In shortWhen a platform has no ready-made tag, you can build one. This tutorial creates a server-side Google Tag Manager tag template that sends conversion and customer data to an endpoint, for example an affiliate marketing provider, and checks the response.
What you need before you start
- The endpoint URL and its requirements
- A working server-side GTM setup
- Publisher access to the website and server containers
Steps covered in the video
- Create a tag template and paste the code from GitHub, replacing the values.
- Update the template permissions.
- Update the tag fields.
- Create a tag from the template.
- Map variables to the fields.
- Test the tag and read the responses.
- Publish.
Resources
Recorded in September 2024. Some screens may look different today.
Related videos
19:46Install Google Tag Manager server-side on Google Cloud
Run your own tracking server on Google Cloud Run, step by step.
September 2024
20:09Install Google Tag Manager server-side with Stape and send GA4 through it
The quickest way to get server-side GTM running, with GA4 on top.
August 2024
17:13Map a custom subdomain to server-side GTM on Google Cloud with a Load Balancer
Put your Cloud Run tracking server behind your own subdomain, the robust way.
September 2025