Tracking

Server-Side Tracking

In short

Server-side tracking sends conversion events from a server straight to ad platforms instead of the browser, so ad blockers and cookie limits matter less.

Also known as: server side tracking

Server-side tracking means conversion events are sent from a server directly to ad platforms such as Meta, TikTok or LinkedIn, rather than only from the visitor's browser. Because the data travels server-to-server, it is far less exposed to browser restrictions.

How does server-side tracking work?

With client-side tracking, the browser loads the ad platform's tracking pixel and fires events straight to it. With server-side tracking, the event first reaches a server, which enriches it and forwards it through an API: the Conversions API for Meta, the Events API for TikTok and the LinkedIn Conversions API for LinkedIn.

Personal data such as email or phone number is protected with hashing (SHA-256) before it leaves the server. The platform can still match it to user accounts, which raises your Event Match Quality.

Why does server-side tracking matter?

Browser-based measurement has been eroding for years. Ad blockers block known tracking domains, Safari's Intelligent Tracking Prevention caps script-set cookies at 7 days, and more people decline tracking. The result is signal loss: ad platforms see only part of your real conversions and optimise on a skewed sample.

Server-side tracking closes a large part of that gap. It is not a loophole, though. Without consent, marketing tracking should not happen on the server either.

Example

A visitor submits a contact form on your landing page while running an ad blocker. The browser pixel never fires. Your server still sends the Lead event to the Conversions API, including a hashed email and the click ID, so Meta can attribute it to the right ad. If the pixel did fire as well, deduplication makes sure the conversion is only counted once.

Pros and cons

  • Pros: less data loss, better campaign optimisation, more control over what is shared.
  • Cons: classic setups built on server-side GTM need a hosted server container, ongoing hosting costs and technical skills.

For the bigger picture, read why server-side tracking matters.

Server-side tracking with LeadSignal

LeadSignal gives you server-side tracking without running a server or a tag manager. You add one script, connect your ad accounts, and LeadSignal sends events server-side to the Meta Conversions API, the LinkedIn Conversions API and the TikTok Events API, in parallel with the pixel and automatically deduplicated. Google Ads is currently connected browser-side via the Google Tag with Enhanced Conversions. The guide on server-side tracking without GTM walks you through the setup.

Frequently asked questions

Is server-side tracking GDPR compliant?+

Not by default. Moving tracking to a server does not remove the need for consent for marketing purposes. It does give you more control over what data reaches ad platforms, for example through hashing and IP anonymisation.

Does server-side tracking replace the pixel?+

Usually not. The recommended setup runs the browser pixel and the server API side by side. Both send the same event ID so the platform deduplicates them and each conversion is counted once.

Do I need my own server for server-side tracking?+

Not necessarily. With Google Tag Manager you have to host a server container yourself. Tools like LeadSignal run the server infrastructure for you, so you only add one script to your site.

Guides on this topic

Articles on this topic

Related terms