Attribution Your CFO Will Actually Trust
Why most marketing attribution reports get ignored by finance, and how to build one leadership actually relies on.
Read article
Server-side tracking sends measurement data to a server you control, which then forwards only approved data to analytics and ad platforms. Combined with Consent Mode v2, which tells Google tags what each visitor agreed to, it lets you honor consent centrally, reduce third-party scripts and still give ad platforms reliable conversion signals. It is not a way around consent.
Server-side tracking is a measurement setup where events go first to a server you control, which then forwards approved data to analytics and ad platforms. Paired with Consent Mode, it is the backbone of privacy-first measurement in 2026: you respect user choices, reduce reliance on fragile browser scripts, and still give ad platforms the conversion signals their bidding depends on.
Server-side tracking moves the collection and routing of measurement data from the visitor's browser to a server you operate. Google's documentation describes server-side tagging as processing data on a server you control rather than in the user's browser.
In a traditional client-side setup, every vendor's tag runs in the browser and sends data straight to that vendor. In a server-side setup, the browser sends one stream to your server container, and the container decides what each vendor receives.
Consent Mode is Google's API for telling Google tags what a visitor has agreed to, so the tags change behavior based on that choice. Version 2 added two signals, ad_user_data and ad_personalization, alongside the original storage signals.
| Consent type | What it controls | If denied |
|---|---|---|
| ad_storage | Advertising cookies or device identifiers | No ad cookies are written or read; cookieless pings can be sent |
| analytics_storage | Analytics cookies and identifiers | No analytics cookies; cookieless pings support modeling |
| ad_user_data | Sending user data to Google for advertising | Personal data collection for ads, including enhanced conversions, is disabled |
| ad_personalization | Personalized advertising such as remarketing | Remarketing and personalization features receive no data |
Google's consent mode overview lists seven consent types in total, including functionality, personalization and security storage. For EEA traffic, Google's EU user consent policy requires advertisers to collect consent and pass these signals to keep using measurement, ad personalization and remarketing.
Advanced Consent Mode recovers more data, while basic mode is the more conservative choice. The difference is what happens before and after a visitor declines.
Make this decision with your legal counsel. Advanced mode is common in many markets, while some organizations serving EU users prefer basic mode based on their own risk assessment.
Server-side tracking matters because it gives you one governed point where consent is enforced and data is minimized before it reaches vendors. It also reduces how much third-party JavaScript runs on your pages.
Server-side tracking is not a loophole. If a visitor declines, the server must honor that choice exactly as the browser would.
Server-side tracking changes where data flows; consent still decides whether it flows at all.
Most teams choose between server-side Google Tag Manager, Google tag gateway, platform conversion APIs, or a combination. Each solves a different part of the problem.
| Option | What it does | Best for |
|---|---|---|
| Server-side Google Tag Manager | Runs a server container, with Cloud Run as Google’s recommended host, that receives events and routes them to many vendors | Teams that need full control, data shaping and multi-vendor routing |
| Google tag gateway for advertisers | Serves Google tags from your own domain through a CDN, load balancer or web server | A lighter first-party upgrade for Google tags, including one-click Cloudflare setup |
| Meta Conversions API | Sends web, app and offline events from your server directly to Meta | Advertisers relying on Meta campaigns and offline conversions |
| Enhanced conversions and offline imports | Pass hashed first-party data and CRM outcomes to Google Ads | Lead generation teams that close sales offline |
According to Google's tag gateway help page, advertisers that configured the gateway saw an 11% uplift in signals, based on Google's comparison of tag script loads in April 2025. Server-side GTM goes further, but it adds hosting costs and ongoing maintenance.
Implement it in layers: consent first, then the server container, then each destination, with testing at every step.
Deduplication is the step most teams get wrong. Meta's documentation recommends sending a matching event_id and event_name from both the Pixel and the Conversions API, and it only deduplicates events received within 48 hours of each other.
The costliest mistakes are treating server-side tracking as a consent workaround and launching without validation.
Accurate signals also make automated bidding safer. Our guide to Google Ads AI Max and Performance Max shows how those signals drive campaign decisions.
Advotis Agency's analytics and CRO team designs consent-aware server-side setups, from CMP configuration to server containers and conversion APIs. If your conversion data looks unreliable, contact our team for a measurement audit.
Server-side tracking can support GDPR compliance, but it does not make tracking compliant on its own. You still need a lawful basis, usually consent for advertising, and the server must block or redact data when consent is refused. Review your setup with legal counsel.
Yes. Consent Mode passes each visitor's choices to Google tags, and those signals must reach your server container so it can respect them. For EEA traffic, Google requires consent signals to keep using measurement, ad personalization and remarketing features.
Google tag gateway serves Google tags from your own domain through a CDN or web server, with minimal setup and no re-tagging. Server-side Google Tag Manager runs a full server container that can reshape data and route it to many vendors, but it requires hosting and maintenance.
Send the same event_name and a shared, unique event_id from both the Meta Pixel and the Conversions API. Meta deduplicates matching events received within 48 hours, and generally keeps the one that arrived first.

Why most marketing attribution reports get ignored by finance, and how to build one leadership actually relies on.
Read article
How AI answer engines choose sources, and the content, technical and measurement steps that make your pages the ones they cite.
Read article
Twelve proven ways companies use AI agents in 2026, how to choose your first one, and how much autonomy to give it.
Read articleTalk to a senior specialist — we reply within one business day with a clear plan.