Direct to sGTM vs. GTM Managed
You now have to choose your preferred data flow.¶
At this point, you have to establish 2 things:
- How you deploy your scripts to your website
- How to send granular consent signals (i.e., consent at the service level) to your Usercentrics sGTM container
Deploying scripts to your website can be done in one of two ways:
- Include scripts directly on the page
- Use a client-side tag manager like Google Tag Manager
We also offer two distinct methods to send granular consent signals to the server container:
- Using a first-party cookie
- Using a client-side variable and GA4 analytics event data
The data is automatically kept updated through a custom script we provide. How you prefer to transport it is up to you.
Technically, you can combine either script deployment mechanism with either consent transport method. To keep it simple, we'll only describe two data flow paths in these docs:
- Direct to sGTM (manual script include and first-party cookie with granular consents)
- GTM Managed (web Google Tag Manager adding granular consent data to GA4 event data)
Understand:
For our use, GTM allows us to manage 2 types of Containers:
(1) a "Web Container"
(2) a "Server Container"
We must still use a GTM Server Container to help us manage our sGTM Server.
We are now determining which method your website will use to send data to your sGTM container.
Server Side Tagging Setup Workflow. You Choose...¶
Direct to sGTM, Browser Script (Part 1 of 3)
GTM Managed, Web Container (Part 1 of 3)
Choose ⓵ Data Flow: Direct to sGTM
1.
Do you have a website that currently sends your data directly to Google Analytics without the use of a GTM "Web Container"?
2.
Do you use other non-Google Analytics server-side clients where you’d like to use consent signals?
3.
Are you OK with setting a first-party cookie that includes the list of DPS for which consent has been granted?
Data Flow: Direct to sGTM, Browser Script (Part 1 of 3)
· or ·
Choose ⓶ Data Flow: GTM Managed Website
1.
Do you have a website that uses GTM to manage your browser <script> using a GTM "Web Container"?
2.
Do you prefer to use event data parameters to transport consent signals server-side instead of cookies?
Data Flow: GTM Managed, Web Container (Part 1 of 3)