Tag managers are moving to the server. Google Tag Manager's server container, Tealium EventStream, Adobe Event Forwarding, Segment and hosted services such as Stape all let you send events to a server you control and forward them from there, either on a subdomain such as data.example.com or on a path of your main domain such as example.com/metrics. None of this changes what the GDPR and the ePrivacy rules ask for: consent before analytics and advertising cookies, and a legal basis for every piece of personal data you send to an ad or analytics platform.
What changes is the route consent has to take. The banner still runs in the browser, but the decision to send data to a vendor is now made on your server, so the visitor's choice has to travel with every event.
Server-Side Tagging and Tracking: Why GDPR Consent Still Applies
| Subdomain | Path on your main domain | |
|---|---|---|
| Example | data.example.com | example.com/metrics |
| How it's set up | A DNS record points the subdomain to your tagging server | Your CDN or reverse proxy routes the path to your tagging server |
| What it changes | Requests and cookies are first-party | Requests are same-origin, so tag scripts and events load like the rest of your site |
| Still needs consent | Yes | Yes |
Safari limits the lifetime of cookies set by a subdomain that points to a different IP address than your main site, which is one reason more setups now use a path on the main domain. For consent, the choice makes no difference: in both cases the tags and cookies are yours, and so is the responsibility.
Four assumptions come up often, and none of them holds.
Server-side tagging is still worth doing. You decide what leaves your infrastructure: you can drop IP addresses, shorten user agents and remove fields a vendor doesn't need before forwarding, which supports data minimisation under the GDPR. It just needs the same consent signal as browser tags, delivered in a different way.
A server container or event pipeline forwards what it receives. Google's tags read Google Consent Mode and adjust what they send, but most other connectors, such as the Meta Conversions API, TikTok Events API, LinkedIn and the OpenAI Conversions API used for ChatGPT Ads, don't check consent on their own. Left on default settings, they send every event, including events from visitors who refused.
When your tag manager or CDN serves tag scripts from your domain and adds them to your pages, you may no longer control the order they load in. If they run before your CMP has set consent, they can set cookies and send data before the visitor has seen the banner. This is known as a late consent signal. Google Tag Gateway's one-click CDN setup is a common example.
Script blockers and simple tag audits recognise trackers by their domains. Once everything loads from your own domain, they can't tell a tracker from your own code, so check consent against the requests your site actually sends.
Cookies set by your tagging server carry your domain and are easy to miss. They still have to be listed in your cookie policy and covered by the banner. A cookie scan finds first-party cookies too.
In server-side Google Tag Manager, the most common setup, Google's own tags pass Consent Mode to the server container for you, so Google Analytics and Google Ads follow the visitor's choice. Other tags in the container don't. Forward the consent value you need from the web container and add it to the trigger of each Meta, TikTok, LinkedIn or OpenAI tag.
UniConsent works with whichever tag manager you run on the server. It collects the visitor's choice once and makes it available to your tag manager's browser client:
UniConsent is a Google-certified CMP and IAB TCF registered CMP. It comes with ready-made consent tags for the Meta Pixel, TikTok Pixel and Microsoft UET, and custom vendors for platforms outside the IAB TCF, such as OpenAI. Consent Logging keeps a record of every choice. For Google's own server-side tools, see the setup guides for server-side GTM and Google Tag Gateway.
Start a free trial or check your site now with the free Consent Mode Checker.
No. It gives you more control over the data you send, which helps, but consent is still needed for advertising and analytics cookies and for sharing personal data with ad and analytics platforms.
Yes, if you use cookies or similar technology for analytics or advertising and have visitors in the EU, EEA or UK. Cookies set from your own domain are still cookies.
Neither changes the consent rules. A path on the main domain avoids Safari's cookie limit for subdomains on a different IP address, but scripts served that way can load before the banner unless you control the order.
Yes. Send the TC string with each event. Your server can check purposes and vendors before forwarding, and vendors that support the TCF can read it themselves.
No. The tags still follow Google Consent Mode, as long as your CMP sets consent before they run. UniConsent is built to do that.
Compliant with GDPR, CCPA, COPPA, LGPD, PECR, PDPA, PIPEDA, and more.
Activate Google Consent Mode UniConsent to enhance the accuracy of your Google Analytics and Google Ads conversion data.
Set up Google Consent Mode →Get started to make your website and application compliant for EU GDPR, US CPRA, CA PIPEDA etc
Sign up
Server-Side Tagging and Tracking: Why GDPR Consent Still Applies

Apple ATT EU Prompt in iOS 27.2: How to Order CMP and ATT Before December

CNIL Fines Fnac Darty €7 Million for App Tracking After Users Refused Consent

ChatGPT Ads and Consent: What Advertisers Need from Their CMP

Digital Omnibus Cookie Rules: Consent-Free Uses and the 4-Month Re-Ask Wait

Proof of Consent Beyond the Cookie Banner: Recording Consent From Forms, Preference Centres and Apps
Get started to make your website and application compliant for EU GDPR, US CPRA, CA PIPEDA etc
Sign upPrivacy laws, consent and compliance updates, a few emails a month.