Privacy & TrackingTools & Analytics

Server-side tracking: what it solves and what it does not

  • By Emilien Roux, Co-founder and CPO of TrackAd
  • Published on
  • 8 min read

Key takeaways

  • Server-side tracking routes events through a server controlled by the advertiser before sending them to analytics tools and ad platforms, instead of sending them directly from the browser.
  • It recovers a large share of the conversions lost to ad blockers and browser limits, extends the lifetime of first-party cookies and gives control over the data sent to each partner.
  • It does not remove the need for consent: an advertising tracker still depends on the visitor’s choice, whether it goes through the browser or a server.
  • It does not solve attribution: each ad platform keeps claiming its own conversions, and better-fed conversion APIs can even increase the total of claimed sales.
  • It requires a hosting budget, technical skills and regular maintenance, especially for deduplication between browser and server events.

In short

Server-side tracking, through server-side Google Tag Manager or the ad platforms’ conversion APIs, improves data collection: fewer losses caused by ad blockers and browsers, longer-lasting cookies, better-controlled data. It does not, however, solve consent, deduplication between ad platforms or multi-channel attribution. It complements a measurement strategy; it does not replace it.

Within a few years, server-side tracking has become a standard recommendation: ad platforms advise it, agencies offer it and the number of tools has grown fast. Server-side Google Tag Manager (sGTM), Meta’s Conversions API, Google’s enhanced conversions and the TikTok or Pinterest Events APIs all make the same promise: recovering the conversions the browser no longer measures.

The promise is partly kept. But server-side is often presented as the answer to every measurement problem: the end of third-party cookies, consent, gaps between ad platforms, attribution. It is not. Before investing, you need to know what it really improves, what it leaves unchanged and the new questions it raises.

How does server-side tracking work?

In standard client-side tracking, each tool places its own script in the visitor’s browser: the Meta pixel, the Google Ads tag, the GA4 tag, the affiliate partner’s tag. Each script sends its data directly to its vendor’s server.

With server-side tracking, the browser sends events (page view, add to cart, purchase) to a collection server hosted on one of the advertiser’s subdomains, for example data.yoursite.com. That server checks them, then forwards them to each tool. Google presents this architecture as a way to improve page performance, user privacy controls and data quality at the same time. Two building blocks are often confused:

  • The server container, such as sGTM: it replaces some of the browser scripts with a single collection point controlled by the advertiser.
  • The ad platforms’ conversion APIs: they receive conversions sent from server to server, from the server container, the e-commerce platform or the back office. They work alongside the pixel, not necessarily instead of it.

What server-side tracking solves

Losses caused by ad blockers and browsers

Ad blockers and some browser protections stop ad platform scripts from loading. A collection point hosted on the advertiser’s domain is blocked less often, and conversions sent by API from the back office no longer depend on the browser. When properly configured, server-side tracking sharply reduces these losses. Two limits remain: some blockers also recognise server containers, and a conversion without consent must not be sent.

Published results point the same way: at the running equipment retailer i-Run, Addingwell reports 35% more data collected and 16% more conversions attributed to Meta after moving to server-side.

Longer-lasting first-party cookies

Safari limits cookies set in JavaScript to 7 days. A cookie set by a server on the advertiser’s domain can be kept longer, which improves recognition of visitors who come back to buy several days after their first click. This requires a correct setup: since Safari 16.4, cookies set by a server hosted on an IP address too different from the main site’s are limited as well.

Control over the data sent

With a server container, the advertiser decides what each partner receives: it can remove the IP address, strip URL parameters, hash an email address before sending it or forward only the events that matter. This is a step forward for the data minimisation required by the GDPR, provided these rules are configured.

Lighter pages

Replacing a dozen scripts with a single collection point reduces page weight and loading time, with a possible effect on conversion rate and SEO.

What server-side tracking does not solve

Consent

Going through a server does not change the rules: an advertising tracker still requires the visitor’s consent, whether it fires in the browser or is relayed by a server. Piano makes the point in its documentation: whether information is sent from a browser or from a server, the user’s consent must be obtained. The server container must therefore receive the visitor’s choice and respect it for each destination. Using server-side tracking to send ad platforms the data of visitors who refused exposes the advertiser to sanctions. Consent Mode signals are still needed, as we explain in our article on Consent Mode v2.

Click ID removal

Since Safari 26, Link Tracking Protection strips gclid, fbclid and msclkid from URLs before the page even loads. The server cannot recover an identifier that never arrived. UTMs, on the other hand, are kept: they are what you need to strengthen. We cover best practices for dealing with click ID removal.

Deduplication between ad platforms

A better-fed conversion API lets each ad platform link more sales to its ads. Meta, Google and TikTok can then claim the same order, each with its own attribution windows. Server-side tracking often increases the total of reported conversions, without saying which platform actually triggered the sale. We explain where these gaps between ad platforms and analytics come from.

Multi-channel attribution and post-view

Server-side tracking improves collection, not how the data is read. Walled gardens keep measuring their own performance, including conversions after a simple impression, and do not share full journeys. Splitting sales between channels is still the job of an independent attribution solution.

Configuration errors

A tag that is misconfigured in the browser stays misconfigured once relayed by a server. Inconsistent amounts, a missing order ID, an event fired twice: server-side tracking fixes none of this, and it adds one more place where an error can occur.

Summary: what changes and what does not

Effect of server-side tracking, topic by topic
TopicEffect of server-side tracking
Losses caused by ad blockersSharply reduced
Cookie lifetime in SafariLonger, if the server is set up correctly
Control over data sent to partnersMuch improved
Page weightReduced
ConsentNo change: it is still required
Click IDs removed by SafariNo change
Conversions claimed by several ad platformsNo change, or even more duplicates
Multi-channel attribution and post-viewNo change

Points to watch before moving to server-side

  • Deduplicate browser and server: the safest approach is to send each event to each tool through a single path. That is the case when the server container forwards the data received from the browser to GA4 or Google Ads, instead of sending it a second time. Meta, on the other hand, recommends sending conversions through both the pixel and the Conversions API. You then need to pass the same event name and the same identifier (event_id) in both sends, and check in Events Manager that duplicates are actually removed. Google also deduplicates purchases using the transaction ID, with limits: GA4 only does so for purchases by the same user, and Google Ads only within the same conversion action. Piano Analytics also advises against sending the same event twice without a clear deduplication strategy, as it inflates reporting.
  • Plan for the cost: hosting the server container is billed by request volume, on Google Cloud or with a specialised provider. Add the time needed for setup and maintenance.
  • Choose the right hosting: a subdomain of the site, an IP address consistent with the main site’s and hosting within the European Union make both cookie lifetime and compliance easier.
  • Document the data flows: list the data sent to each partner, with its legal basis. The record of processing activities must reflect this new architecture.
  • Measure the gain: compare the conversions reported before and after the switch, by browser and by ad platform, and reconcile them with back-office orders. A gain shown by an ad platform is not necessarily an extra sale. With TrackAd, this comparison is immediate: because analytics data and traffic source data sit in the same interface, the change in sessions, conversions and sales by ad platform and by browser can be read directly, before and after the switch.

For the checks to run regularly, see our article on essential checks for your analytics data.

TrackAd impact

TrackAd brings together your analytics data, your CRM data and your traffic source data in a single platform. It connects to the tracking tools already in place when their level of collection is sufficient, or relies on its own tracker, with first-party collection under the brand’s domain. Attribution is based on UTMs and tracking codes controlled by the advertiser, not on the ad platforms’ click IDs.

TrackAd then reconciles the collected conversions with actual sales via API, using the advertiser’s commercial data. This reconciliation reveals missing conversions, those counted twice between browser and server, and those claimed by several ad platforms. With the deduplication and attribution modules, each sale is attributed only once, and the costs reported by the ad platforms are compared with actual sales for consolidated performance.

Server-side tracking improves the signals sent to ad platforms; TrackAd checks what they actually produce. We explain why TrackAd complements Google Analytics 4. To assess your tracking setup with our team, you can request a demo.

Conclusion

Server-side tracking is a useful improvement to data collection: fewer losses, longer-lasting cookies, better-controlled data. It changes nothing about consent obligations, does not protect click IDs and does not tell you which ad platform actually generated a sale. Advertisers who combine it with rigorous UTMs, reliable deduplication and independent attribution get the most out of it.

Server-side tracking in 5 questions

What is server-side tracking?

It is a collection method that routes a site’s events (page views, add to cart, purchases) through a server controlled by the advertiser, before forwarding them to analytics tools and ad platforms.

Does server-side tracking remove the need for consent?

No. An advertising tracker still requires the visitor’s consent, whether it fires in the browser or is relayed by a server. The server container must respect the choice made in the consent banner.

What is the difference between server-side GTM and the Conversions API?

Server-side GTM is a container that centralises collection on the advertiser’s server and redistributes the data. Meta’s Conversions API is an endpoint that receives conversions sent from server to server. The first can feed the second.

How do you avoid duplicates between the pixel and a conversion API?

The safest approach is to send each event to each tool through a single path. When both the browser and the server send the same conversion, as Meta recommends, you need to pass the same event name and the same identifier in both sends, then check in the ad platform’s tool that duplicates are actually removed.

Does server-side tracking fix the gaps between ad platforms and analytics?

No. It improves collection, but each ad platform keeps applying its own windows and claiming the sales it contributed to. Only independent deduplication and attribution bring these figures back in line with actual sales.

Emilien Roux

Written by

Emilien Roux

Co-founder and CPO of TrackAd, I have been helping acquisition teams measure and optimize their digital performance for more than 12 years. A graduate engineer from ENSIIE and the University of Manchester, I specialize in tracking, API integration and data analysis — topics I work on every day with our e-commerce and retail clients.