Skip to content

Term

What is server side tracking, and is it GDPR compliant?

More control over what leaves your site. No licence to track without consent.

What is server side tracking: Google's explanation of server-side tagging, with client-side and server-side side by side
Server side tracking
Server side tracking means measuring through your own server: the browser sends one signal to a server you control, which decides what goes on to Google Analytics, Google Ads or Meta.
Also calledserver-side taggingserver-side GTMserver-side measurement

By , COO

4 min read
On this page
  1. 01What is client side tracking, and how server side differs
  2. 02What it fixes
  3. 03Is server side tracking GDPR compliant?
  4. 04What is server side tracking in Google Ads and Meta?
  5. 05Measuring without cookies: our own example

With ordinary tracking, client side, every tag runs in your visitor's browser. The Meta pixel, the Google Analytics tag and the Google Ads tag each send data straight to their own servers, and you cannot see exactly what leaves. With server side tracking the browser sends a signal to a server you own, on your own domain, and that server decides what goes further: which fields, to which service, and what gets filtered out.

Two lanes: browser or server

The visitor's consent, for both lanes

Client side

  1. 1Your visitor's browser
  2. 2Five tags load, each with its own script
  3. 3Each tag sends straight to Google, Meta or LinkedIn

You cannot see exactly what leaves

Server side

  1. 1Your visitor's browser
  2. 2One signal to your own domain
  3. 3Your server filters: shorter IP, email removed
  4. 4Passed on to Google and Meta, or nowhere

You decide what leaves your site

Server side moves control to you. The rules on cookies and consent stay the same.

What is client side tracking, and how server side differs

Client sideServer side
Where the tags runIn the visitor's browserOn your own server or cloud
Who sees the raw dataEvery service whose tag loadsYou first
Page weightEach tag is extra JavaScriptOne light request to your server
Ad blockersBlock many tagsFewer, but not always
CostFree, on your existing siteHosting: Google advises at least 2 servers in production at about 45 USD a month each
Consent neededYes, for analytics and marketingYes, for the same purposes

What it fixes

Three things. Pages load faster, because one request to your server replaces five heavy scripts. You keep control: you can shorten an IP address, drop an email address or hash a field before it leaves your server. And your data gets more complete, because fewer signals get lost on the way.

Is server side tracking GDPR compliant?

Not by itself, and this is where it is often oversold. Server side tracking is sometimes pitched as a way to measure without a cookie banner. It is not. The EU cookie rule covers anything stored on or read from the visitor's device, also through your own domain. And for marketing purposes, such as retargeting or conversions sent to Meta, the GDPR requires a legal basis, which in practice means consent. Whether you need a cookie banner depends on what you measure, not on where the code runs.

What does change: you can do more with less data. A server that only counts how many people viewed a page, without storing anything on the device and without passing anything to a third party, sits in a different category from a pixel building an advertising profile. The full checklist for a site serving EU visitors is in GDPR compliant website.

What is server side tracking in Google Ads and Meta?

The best-known route is a Google Tag Manager server container hosted on Google Cloud or a specialised host. Your browser container sends everything to the server container, which hands it on to Google Analytics, Google Ads and Meta. For Google Ads that means conversions measured through your server, often with enhanced conversions. On the Meta side the server channel is called the Conversions API; the Meta pixel and the Conversions API work best together, with a shared event ID so Meta does not count twice. How Analytics itself handles consent is in Google Analytics 4 setup.

Measuring without cookies: our own example

vbsmarketing.eu runs no Google Analytics and no pixel. A small function on AWS (Lambda) receives the page, the source and the UTM code of each visit, and counts clicks to book a call, to phone or to email, and submitted forms. It all lands in a database (DynamoDB) inside the EU, in Stockholm. No cookie sits on the visitor's device and nothing goes to a third party. The Business Centrum site measures the same way. It is a form of server side measurement that shrinks the privacy question rather than moving it.

Short questions on server side tracking

What does server side tracking cost?

On Google Cloud, Google advises at least two servers in production at roughly 45 USD a month each. Specialised hosts charge a fixed monthly fee. Setup comes on top.

Does server side tracking get around ad blockers?

Partly. Requests to your own domain are blocked less often, but some blockers recognise them. Never use it to get around a visitor's refusal.

Does a small site need server side tracking?

Rarely. With a small ad budget, a simple setup with consent, or cookieless measurement, is usually enough.

Google Ads

How VBS sets up your measurement

We choose the lightest setup that answers your questions. If you want to know which sources bring enquiries, cookieless measurement like ours often does the job. If you advertise on Google and Meta, we put the tags behind consent that works and, where it pays, a server container with the Conversions API so your campaigns steer on real conversions. That is how we support your Google Ads and Facebook and Instagram ads. Book a call to see what you need.

Measure what counts, with as little data as possible

Tell us what you want to know about your visitors. We tell you which setup fits.

Optional, if you prefer a call.

What do you want to achieve, and what is already there?

We only use your details to reply to you.