Improve your Tracking results with TAGGRS' Enhanced Tracking Script
Collecting reliable tracking data is becoming increasingly difficult with the rise of ad-blockers and the increasing focus on privacy. The TAGGRS Enhanced Tracking Script provides a solution by delivering measurable results even when traditional tracking methods fail.
Why TAGGRS' Enhanced Tracking Script?
The Enhanced Tracking Script is designed to circumvent the limitations of traditional tracking. Ad-blockers often block the GTM script, resulting in loss of valuable tracking data. The script prevents this by masking the GTM script so that ad-blockers do not recognize it. In addition, the Extend cookies option provides the ability to extend the lifetime of cookies for browsers using new ITP settings (such as Safari), so that lost cookies remain available for data collection longer.
How does the Enhanced Tracking Script work?
Ad-blockers often block the default GTM script, causing tracking data to be lost. The Enhanced Tracking Script prevents this by changing the GTM script, making it harder for ad-blockers to recognize it. This allows you to continue tracking even when ad-blockers are active.
What are the benefits of the Enhanced Tracking Script?
- Bypasses ad-blockers: Masking the GTM script prevents ad-blockers from blocking your tracking, leading to increased measurability.
- Cookie extension: The Extend cookies option extends the lifetime of cookies for browsers using new ITP settings, such as Safari, so that cookies remain available for data collection longer.
- Easy installation: The Enhanced Tracking Script is easy to install, allowing you to quickly collect reliable data and improve your tracking results
The use of the Enhanced Tracking Script does not increase the differences between client side tagging and server side tagging, but ensures that both increase in quantity
How do I set up the TAGGRS Enhanced Tracking Script?
1. Choose your options
Under the Advanced settings in the TAGGRS Dashboard, you have two options:
- Extend cookies: This extends the lifetime of cookies for browsers that use new ITP settings, such as Safari. This ensures that lost cookies remain available longer.
- Anti-adblocker: This option replaces the default GTM.js script name with another name (containerid.js). Using a random string makes it harder for adblockers to recognize the script and prevents your tracking from being blocked.
Both the Anti ad blocker and extend cookies feature are activated by default. If you do not check these options, the regular Enhanced Tracking Script is used. This script also blocks many adblockers, but the more advanced ones that recognize GTM.js are not blocked.
2. Web Container ID
- Go to Google Tag Manager and navigate to the Web Container.
- Copy the Web Container ID.
- Add this ID in the TAGGRS Dashboard. After you have done this, the Enhanced Tracking Script will be generated.
3. Copy and paste head code into the website
- Copy the head code that is generated.
- Place this code as high as possible in the of your website. This script replaces the current GTM script.
4. Copy and paste body code into website
- Copy the body code that is generated.
- Place this code as high as possible in the of your website. This code also replaces the current GTM script.
Only when using the normal Enhanced Tracking Script (without Anti-Adblocker and Extend Cookielifetime), perform the following steps:
5. Server Container ID Copy (Server Container).
- Go to your Server Container in Google Tag Manager and copy the Server Container ID.
6. Create Client in Google Tag Manager (Server Container).
- Go to the menu on the left and navigate to Clients.
- Click New to create a new client.
7. Set up client in Google Tag Manager (Server Container).
- Give the new client a name, for example, Google Tag Manager.
- Click Client Configuration and select Google Tag Manager Web Container as the client type.
- Under Allowed Container IDs, insert the previously copied Server Container ID.
- Also add the Web Container ID (client-side) that you used in the TAGGRS dashboard for the Enhanced Tracking Script.
- Make sure Enable region specific settings is disabled.
- Leave Priority set to 0.
8. Save the settings and publish the container
Be sure to save the settings, submit and publish the container so that the Enhanced Tracking Script is activated correctly.
Conclusion
Enhanced Tracking Script gives you access to the data you need, even in a world full of ad-blockers. With this tool, you can make sure you're always one step ahead when it comes to data tracking.
Looking to improve tracking capabilities even more? Then get started today with server side tagging from TAGGRS and start generating more conversions.
FAQ TAGGRS Enhanced Tracking Script
I get an error when adding the TAGGRS GTM code, is that bad?
Suppose you see one of the errors below when adding the GTM code. Don't panic, the code will still work!
I am getting a 400 error in the Console when adding the enhanced tracking script.
If you get a 400 error in the console you probably forgot to set up client creation in the server container. This is described from step 5 of setting up the Enhanced Tracking Script.
After setting up the Enhanced Tracking Script, the Server Side Analytics tables are not displayed properly.
This could be because you have a duplicate Google Tag Manager script on the site. This can come if you have our enhanced tracking script, and the old GTM script on it. This should only be the Enhanced Tracking Script.