To understand server-side consent, let’s first clarify what server-side tracking is, how it differs from client-side tracking, and why it is gaining traction today. Let’s begin with the latter.
Defining some key concepts
- Server-side tracking: When you collect user data on the server.
- Server-side tagging: When you implement tracking tags on the server instead of embedding scripts directly in the HTML code of your website. It is easier to do server-side tagging with a tag manager.
- Server-side consent: Ensuring user consent is respected when tracking is controlled from the server.
- Server-side hybrid setup: Combining server-side data collection with cookies set on each user’s browser (on the client).
Why is server-side tracking a thing now?
If server-side tracking was a stock one could trade, it would probably be a sound long-term investment because of 3 key forces impacting the World Wide Web and the online market we as digital marketers depend on:
- Advanced browser restrictions.
- Broad adoption of ad blockers.
- Strong data protection regulations.
What is server-side tracking?
If you want to track and collect passive* data about a visitor on your website, you can use one of two methods: a client-side setup or a server-side setup.
*Passive data is information automatically collected about users without their active input, such as browsing behavior and device details.
Client-side tracking has been the most common method to track your visitors. It means that data is transferred directly from your visitors’s client (a.k.a. web browser) to the endpoint, meaning different vendors you have allowed to process visitor data. You know, by implementing tags for analytics or other services on your website. Other services could be Instagram, Facebook, Hubspot, etcetera.
Are there different ways of doing server-side tracking?
The latter method is still used but it is complex and requires significant development resources.
Okay, so there are different ways of doing server-side tracking, with hybrid being a common practice. How, then, do we ensure we collect consent in a hybrid-server-side setup?
How do I collect consent server-side?
But can this really be defined as server-side consent?
Collecting server-side consent with Google Consent Mode v2
Because the consent signals are automatically sent to your server from the Consent Management Platform (CMP), such as Cookie Information. The CMP can do this by leveraging the Google Consent Mode v2 API integrated into your Cookie Information CMP.
But what if you want to avoid using Google Consent Mode v2?
Collecting server-side consent with Google Tag Manager only
Should you implement a server-side solution?
So, does the deprecation of the third-party cookie not have anything to do with it?
It is a general misconception that browsers blocking third-party cookies renders a need to go server-side. Rather, it is how some browsers, like, for example, Apple’s Safari, put restrictions on how long first-party cookies can be stored in the browser that motivates website owners to move things server-side.
And then there are the cost issues. Even though the costs for the server can be negligible, the time and effort required by the IT and marketing team are considerable in setting up and maintaining it in the long term.
Leverage transparency and gain trust with consent management—regardless of your tracking setup
One of argument for going server-side is the level of control it gives you. On the con-side there are the cost issues.