Before Start
This implementation is optional but highly recommended, because this further step improves the tracking quality and site loading times.
The additional requirements for server side integration are: - GTM account with a Server Side workspace - An external service to deploy the Server Container
Can I use my own hosting?
Yes, you can use your own hosting to deploy the GTM Server Side container, but it requires more technical knowledge, configuration and maintainment of the GTM image. The recommended approach is to use a specialized services like Stape or Taggrs for easier setup and management.
This kind of integration is not covered in this guide, but you can refer to the official documentation of the service you choose or contact us for custom integrations.
The external service is possible to implement it in multiple ways, such as Google Cloud, Amazon Web Service, Stape, Taggrs or similars.
The guide will focus on easiest and most common solutions as Stape or Taggrs, if you want to deploy Server Side with Google Cloud or AWS solutions, please refer to the official documentation, or contact us for custom integrations.
Before start, you have to know that Server Side integration requires 1 GTM Server Side container.
The Server container is deployed in a third-party service (Stape, Taggrs, Google Cloud, etc.). It collects events from the client-side container, processes the data to match the expected schemas of tracking platforms (e.g., GA4, Google Ads), and sends the processed data to the final endpoints.
In summary, you need complete the next steps
- Create GTM Server Side Container
- Deploy Server Side Container with your preferred solution
- Download and import Workspace in GTM Server Side Container
- Setup container settings
- Edit the Constants Variables in Server-Side Workspace
- Configure Container Settings to allow Tag Assistant