Case of GA tags in GTM WITHOUT cookieless feature
Paramétrage de Google Tag Manager pour activer la proxyfication SANS la fonctionnalité de tracking cookieless du Helper.
Dernière mise à jour
Paramétrage de Google Tag Manager pour activer la proxyfication SANS la fonctionnalité de tracking cookieless du Helper.
Dernière mise à jour
For a Google Analytics via GTM parameter, the basic procedure is the same whether you are using Universal Analytics 360 via GTM and/or GA4 via GTM, and consists of creating variables as explained below.
WARNING: the purpose of proxyfication is to prevent direct identification of the user by the American intelligence services, or indirect via access to data obtained from Google.
The very principle of this service is therefore to break the direct link between Google Analytics and all the other Google services.
If you measure the effectiveness of Google Ads advertising via Google Analytics, or if you share remarketing audiences, you must make arrangements to work differently because these features will not work.
For example, you may consider using Google Ads pixels or tags (remarketing and/or conversion measurement) if you believe their use is compliant.
If in doubt, do not hesitate to ask our teams to perform these tag settings for you.
Remember to declare your property identifiers (or not declare any) in your Analytics Helper console, otherwise the Pings Analytics that will pass through the proxy will be blocked.
WARNING: before proceeding below, please make sure that you have unchecked the “Activate cookieless mode” box in the Helper portal (https://helper.sirdata.io/).
Go to “Configuration” / “Edit information” / uncheck “Activate cookieless mode”
To get started, go to the “Variables” section of GTM.
Click on “New” to create a “User-defined variable”:
Name this variable “Helper Partner Id” or otherwise
Choose the “Constant” variable type
In the “Value” box, enter your “partner_ID” (find it in your account)
Save
Click on “New” to create a “User Defined Variable”:
Name this variable “Helper Config Id” or otherwise
Choose the “Constant” variable type
In the “Value” box, enter your “config_ID” (find it in your account)
Save
If you use or plan to use Universal Analytics via GTM, then click on “New” to create a “User Defined Variable”:
Name this variable “Analytics” or something else
Choose the variable type “Google Analytics Settings”
In the “Tracking ID” box enter your Universal Analytics property ID identified in the first step (of the form UA-XXXXXX-Y).
Expand the “More parameters” section, then “Fields to define”, and add 6 lines
Enter “anonymizeIp” in the first field (“Name”) of the second line, and enter “true” in the second field (“Value”)
Enter “transport” in the first field (“Name”) of the third line, and enter “xhr” in the second field (“Value”)
Enter " & ep.sah_pa” in the first field (“Name”) of the fifth line, and select the “Helper Partner Id” variable you created in 1) b) in the second field (“Value”)
Enter " & ep.sah_c” in the first field (“Name”) of the sixth line, and select the “Helper Conf Id” variable you created in 1) c) in the second field (“Value”)
In the “Advanced configuration” section, in the “Transport URL” field, enter “https://event.analytics-helper.com/g”
Repeat the operation one or more times if you use or plan to use one or more other Universal Analytics 360 property identifiers.
Do not delete your own field values, and in case of duplicate prefer the values above.
If you use or plan to use GA4 via GTM, then click on “New” to create a “Utilities Variable”:
Name this variable “GA4 Configuration” or something else
Choose the variable type “Google Tag: Configuration Settings”
Expand the “Config Parameter” section with 4 lines
Enter “server_container_url” in the first field (“Config Parameter”) of the second line, and enter “https://event.analytics-helper.com/g” in the second field (“Value”)
Enter “send_page_view” in the first field (“Config Parameter”) of the third line, and enter “true” in the second field (“Value”)
Enter "sah_pa” in the first field (“Config Parameter”) of the fifth line, and select the “Helper Partner Id” variable you created in 1) b) in the second field (“Value”)
Enter "sah_c” in the first field (“Config Parameter”) of the sixth line, and select the “Helper Conf Id” variable you created in 1) c) in the second field (“Value”)
Go to the “Tags” section and click on “New” or select your existing GA4 tag if you have already created one.
Then configure the tag like this:
Name this new tag “Google Analytics Configuration GA4” or otherwise
Choose the “Tag Type” named “Google Tag”
In the “Tag ID” box enter your GA4 property identifier identified in the first step (in the form G-12456789).
Expand the “Configuration settings” section
Select the "GA4 Configuration" variable you created in 1) f) in the "Configuration Settings Variable" field
Finally, in the last section “Trigger”, keep your existing trigger or select “All Pages” for example
Save
Use this configuration for GA Events tracking.
Repeat this step if you want to create another GA4 tag, or go to the next step if you want to create or configure a Universal Analytics 360 tag.
Otherwise, publish your container to complete the activation of Sirdata Analytics Helper.
Go to the “Tags” section and click on “New” or select your existing Universal Analytics 360 tag if you have already created one.Then configure the tag like this:
Name this new tag “Google Analytics Universal Analytics 360” or otherwise
Choose the “Tag Type” named “Google Analytics: Universal Analytics”
In the “Google Analytics Settings” box choose the “Analytics” configuration variable that you created in 1) c)
Finally, in the last section “Trigger”, keep your existing trigger or select “All Pages” for example
Save
Repeat this step if you want to create another Universal Analytics 360 tag, otherwise publish your container to complete Sirdata Analytics Helper activation.
Cheer !
If in doubt, don't hesitate to ask Sirdata's experts to configure your Tag Manager for you.