Ensure that the Enhanced signals tags are configured to fire only when the necessary consent is present. Additionally, make sure to share data in accordance with your privacy policies and applicable laws and regulations.
Follow only one of the two approaches explained below. Do not mix or implement both.
Approach #1: Google Tag Manager web container setup
The GTM web container setup supports all available targets target and all available transformations. The GTM web container setup is the recommended approach.
1. Basic implementation
The basic implementation is always required.
Download the GTM container JSON file.
Create a new workspace in GTM.
Click on 'Admin' in the main menu.
Click on 'Import container'.
Click 'Choose container file' and select the JSON file you downloaded in point 1.
Under 'Choose workspace', click 'Existing' and select the workspace you created.
Choose 'Merge' as the import option.
Select 'Rename conflicting tags, triggers, and variables'.
Click 'Confirm'.
Assets to modify
Below is the list of assets and possible modifications you can make to them:
Asset | Action |
'GA4 - Enhanced Signals - page_view' (config tag) |
|
'GA4 - Enhanced Signals - purchase' |
|
Lookup table variables (for example ‘Enhanced Signals - LT - Config ID’) |
|
'Enhanced Signals - Settings Variable' |
|
Assets to remove
Remove the following assets if your Enhanced signals configuration does not utilise the Google Ads target:
Enhanced Signals - Google Click ID to cookie (tag)
Enhanced Signals - Google Click ID to cookie (tag template)
Enhanced Signals - Cookie - gtm_es_gads_id
Enhanced Signals - JS - Create Event Timestamp
2. If your target is Google Ads
If your Enhanced signals configuration is using the Google Ads target, follow the instructions below:
Asset | Action |
'Enhanced Signals - Google Click ID to cookie' |
|
'Enhanced Signals - Settings Variable' |
|
3. If your target is Facebook Ads
If your Enhanced signals configuration is using the Facebook Ads target, follow the instructions below:
Asset | Action |
'Enhanced Signals - Settings Variable' |
|
Refer to the help text for each field in the 'Enhanced Signals - Settings Variable' in GTM for more detailed instructions.
4. If your target is Google Tag Manager: Server-side
If your Enhanced signals configuration is using the Google Tag Manager: Server-side target, read the instructions here.
5. If User-identify data is used
If you intend to send user-identifying data (also known as 'hashed identifiers') to various targets, follow the instructions below.
Asset | Action |
'Enhanced Signals - Settings Variable' |
|
Approach #2: Google Tag Manager Server container setup
This setup requires Google Analytics 4 requests from a GTM Web container. If you already proxy Google Analytics 4 Web requests via Server GTM, you can use those events. If not, you need to implement Google Analytics 4 tags in your GTM Web container first.
Note that Enhanced measurement, Google signals, Referral exclusions, and many other property and stream settings will be inherited from the GA4 Measurement ID deployed client-side.
1. Basic implementation
The basic implementation is always required.
Download the GTM container JSON file.
Create a new workspace in GTM.
Click on 'Admin' in the main menu.
Click on 'Import container'.
Click 'Choose container file' and select the JSON file you downloaded in point 1.
Under 'Choose workspace', click 'Existing' and select the workspace you created.
Choose 'Merge' as the import option.
Select 'Rename conflicting tags, triggers, and variables'.
Click 'Confirm'.
Assets to modify
Below is the list of assets and possible modifications you can make to them:
Asset | Action |
'Enhanced Signals - GA4 - purchase' |
|
'Enhanced Signals - GA4 - basic events' |
|
'Enhanced Signals - LT - Config ID' |
|
2. If your target is Google Ads
If your Enhanced signals configuration is using the Google Ads target, follow the instructions below:
1. Create a new workspace in your GTM Web container.
2. Import only the following assets from this GTM container JSON into the workspace you just created:
Enhanced Signals - Google Click ID to cookie (tag template)
Enhanced Signals - Google Click ID to cookie (tag)
Enhanced Signals - Cookie - gtm_es_gads_id (variable)
Enhanced Signals - JS - Create Event Timestamp (variable)
3. In the web container, add the following key-value pairs to the Google Analytics 4 purchase tag responsible for sending requests to the GTM Server container and your Enhanced Signals Server tag:
es_gads_id: {{Enhanced Signals - Cookie - gtm_es_gads_id}}
es_gads_event_timestamp: {{Enhanced Signals - JS - Create Event Timestamp}}
4. In the server container, exclude the above parameters from Google Analytics 4 tags.
5. In the server container, enable the Google Ads target in your Enhanced signals tag.
3. If your target is Facebook Ads target
If your Enhanced signals configuration is using the Facebook Ads target, follow the instructions below:
Asset | Action |
'Enhanced Signals - GA4 - purchase' |
|
Refer to the detailed instructions in the help text for each field in the 'Enhanced Signals - GA4 - purchase' tag in GTM.
4. If your target is Google Tag Manager: Server-side
If your Enhanced signals configuration is using the Google Tag Manager: Server-side target, read the instructions here.
5. If User-identifying data is used
If you intend to send user-identifying data (also known as 'hashed identifiers') to various targets, follow the instructions below.
Asset | Action |
'Enhanced Signals - GA4 - purchase' |
|
Refer to the detailed instructions in the help text for each field in the 'Enhanced Signals - GA4 - purchase' tag in GTM.