Does server-side tagging avoid consent?.
It gives control over the data. It does not remove the consent rule.
The short answer
Server-side tagging moves the tags from the visitor's browser to a server you control, so you decide what data leaves and where it goes.1 It does not remove the consent rule. Consent mode still decides what the tags send while consent is denied.2
A server adds control. It also adds cost and work, so start with a clear reason.
What server-side tagging is
A server container does not run in the visitor's browser. It runs on a server, and the tags, triggers and variables work as they do in a web container.1
Control over the data
Google says only you have access to the data on the server until you send it elsewhere, and that you control how the data is shaped and where it is routed.1 That is the main reason a shop might use it.
Consent still applies
Server-side tagging does not make consent optional. In basic consent mode, Google tags are blocked until a user interacts with the banner, and with consent denied no data is sent to Google, not even the consent status.2
In advanced consent mode, tags load with defaults set to denied, and they send measurements without cookies until consent is granted.2
A shop runs its server in its own Google Cloud project. A visitor declines consent. With advanced consent mode, the tags send measurements without cookies. With basic consent mode, the tags are blocked and nothing is sent, not even the consent status. The server changes neither rule.
See where your website loses revenue.
Cost and work
The server runs in your own Google Cloud project, so you run the infrastructure.1 Google recommends installing the server on your own domain before sending production traffic.1
Google does not state a cost in its introduction. Check the cloud pricing yourself before you commit.
When it is worth it
- You need control: you want to decide what leaves the site and where it goes.1
- You have the capacity: someone can run the server and keep it working.1
- Consent is already set up: the banner and the consent mode settings come first.2
Mistakes to avoid
Discover your website’s 3 biggest gaps for free.
Frequently asked questions
Does server-side tagging avoid the cookie banner?
Who runs a server-side container?
Is server-side tagging the same as cookieless tracking?
What does advanced consent mode send before consent?
Sources
- Google for Developers, An introduction to server-side tagging: what a server container is, control over the data, the Cloud project and the first-party domain.
- Google for Developers, Consent mode overview: what basic and advanced consent mode send while consent is denied.