Documentation
Deployment modes
Client Side, Google Tag Gateway or Server Side: the dataLayer stays the same, only the path the data takes to the platforms changes. One setting in the module, without touching the shop's code.
In all three modes, the Google Tag Manager web container runs in the browser. What changes:
- Client Side: the tags send their measurements straight to the platforms.
- Google Tag Gateway: the Google tags are served from your own domain, through a reserved path.
- Server Side: a tagging server receives the measurements and relays them to the platforms.
Choosing and setting up the mode are part of the Get started path: step 1, choose your mode, then step 4, import the GTM containers. This section explains how data flows and how to switch modes.
In this section
- How data flows in each mode The path of the scripts and of the measurements in each mode, and what each platform receives from the browser or from the server.
- Switch modes Move from one deployment mode to another without touching the shop's code: module setting, new containers, switchover and rollback.