What Is GTM Server-side Tagging ?
Server-side tracking is a brand new feature in the Google Tag Manager. So far it is a non-public beta, available to partners for testing. Server-side tagging allows analytics and marketing tags to be processed on a server instead of the user’s browser, speeding up the website, reducing network traffic and improving overall tracking accuracy.
Website faster and data more accurate
Instead of implementing many analytics and marketing tags, marketing scripts and pixels into a website, server-side processing means reducing the overall size and complexity of such tracking (thus speeding up the website). Moreover, for every tracked event, only one request can be sent to the server for processing instead of sending a separate request to every single marketing and analytics tool. By speeding up the website, this could also improve reliability and accuracy.
Thanks to moving to the server, the total size of the frontend GTM container and various marketing scripts is reduced to an absolute minimum. In fact, only a minimum amount of javascript is required on the webpage, with its sole functionality limited to sending signals to the server-side container for further processing.
Therefore we get rid of tons of tracking scripts and libraries implemented in the website, speeding up page load and render time, which improves the overall user experience. It is often the case that a user leaves a web page before it is fully loaded, meaning losses in tracked data.
With a faster website, such losses are no longer an issue and data accuracy is considerably improved.
Server-side tracking has multiple advantages in website security
Keep Your Tracking IDs to Yourself
By using a server-side container as a middleware between your website and analytics, tracking IDs don’t have to be present on the website at all. Not exposing them publicly naturally means less spam traffic in your analytics and marketing tools.
No More Crashing!
Have you ever implemented a new fancy tool within your standard GTM that turned out to be slowing down or crashing your website? With moving such logic to the server instead of a website, you will not risk such annoyance anymore.
Fight Evil Trackers
And speaking of shiny always-new trackers… Once upon a time, there was an evil tracker that copied whole dataLayer content and sent it to its own suspicious servers without mentioning this anywhere. Server container naturally helps to prevent such events.
Hide your API keys
Various APIs, internal CRM systems, Mailchimp… They all use security keys or passwords for their APIs that should not be available to the end-user. To prevent this, we have always developed server-side scripts. As server-side tracking is server-side by nature, we can now include those easily in the GTM server container.
1st party cookies
In today’s tracking and cookie consent, the advantage of having important cookies in first-party is immense. Server-side tracking will be hosted on your domain, setting required cookies in the first-party context, preventing many problems with the rising trend of blocking 3rd party cookies and scripts.
Installation of Server Side Tagging
Currently, a server-side GTM container is available for partner whitelisting and their managed accounts only. The setup of the server-side GTM container is a little more complex than a standard GTM (likely to be improved before public roll out). After the installation, the container is hosted within the Google Cloud Platform’s Compute Engine.
The Price of Server-side GTM
The whole infrastructure now costs approximately 8 USD per 24 hours of usage (240 USD/month). This amount seems independent of its usage; we have tested sending 10M Google Analytics hits over 2 days and the price remained the same as if there was no traffic at all.
However, the operating costs are likely to decrease in the future, as the current setup is scaled for big projects. We have tested this hypothesis by manually limiting compute power, being able to bring the price down to by 75% (2 USD daily), while still processing GA requests normally.
Course tip GTM: Master Google Tag Manager: Go From Beginner to Advanced
You can use Google Tag Manager to send simple page views data to your GA account, or you can use it to collect complex business data. This course will take you from the former to the latter. We will look at straightforward use cases such as button click tracking, form tracking, element visibility, outbound link tracking, etc. Then we will move to discuss more complex scenarios such as Facebook pixel implementation, advanced techniques for google ad conversion tracking, You Tube, and non-You Tube video tracking. We will learn how to capture custom data such as User ID and product information with GTM variables. We will learn how to move the GTM computations to the server-side and set up tracking for single-page applications. Then, there are custom templates, and more. We look at implementation steps, concepts, and behind the scene working of the GTM. I am Rudranil, and I have about a decade of experience in Saa S marketing, during which I oversaw the implementation of GTM for many Saa S businesses. I am offering this course with hours of content and material, an enormous discount, and a 30 days refund offer. It means that you have zero risk in subscribing to the course. I hope you do give it a try. Thank you.
Master Google Tag Manager: Go From Beginner to Advanced
source