Client-side vs server-side tracking: what actually changes

Browser or server: what changes when your tracking moves to a server

Every tracking setup answers one question: where does the data get sent from? In a client-side setup, the visitor's browser sends it straight to Google, Meta and every other platform. In a server-side setup, the browser sends it to a server first, and the server passes it on.

That sounds like a plumbing detail. In practice it changes how long your cookies last, what ad blockers can see and how much control you have over what each platform receives.

This post walks through how each approach works, what actually changes when you move, what doesn't, and when client-side tracking is still enough.

How client-side tracking works

Client-side tracking is the default. You add a tag to your site (the GA4 tag, the Meta Pixel, the Google Ads tag) usually through Google Tag Manager. When someone visits, each tag runs in their browser and sends its own request to its own platform.

A page with five marketing tags makes at least five sets of requests to five different companies. Each one sees the visitor's IP address and browser details. Each one sets its own cookies with JavaScript.

That's simple to set up, and it's why most sites start there. It's also where the problems start, because the browser is the part of the chain you have the least control over.

How server-side tracking works

With server-side Google Tag Manager, a server container sits between your site and the platforms. Google's description is that it "doesn't run in the user's browser… it runs on a server that you control".

The browser sends one stream of events to that server. The server then forwards each event to GA4, Google Ads, Meta, TikTok and the rest, through their server-to-server APIs, such as Meta's Conversions API.

Google "strongly recommend[s]" running the server on your own domain, such as data.yoursite.com. That detail matters more than anything else in the setup, as the next section shows.

What actually changes

Cookies can last longer

Browsers treat cookies differently depending on who sets them and how. Safari is the strictest. Under its tracking prevention rules, cookies written by JavaScript are deleted after 7 days without user interaction. If the visitor arrived from a link carrying tracking parameters, such as an ad click, that can drop to 24 hours.

A server on your own subdomain can set cookies in its response instead, as first-party cookies. Google notes that in this setup cookies "can be set with the HttpOnly flag, making them more durable and more secure" (Google's server-side fundamentals). Set this way, your click IDs and analytics cookies have a better chance of surviving until the visitor converts.

The domain itself is non-negotiable. Google's custom domain guide says a server left on its default Google domain "runs in a third-party context" and gets no server-cookie benefit at all.

Ad blockers see fewer tracking requests

About 29% of Australians use an ad blocker, against 33% in the US and 27% in the UK, according to eyeo's 2026 ad-blocking report. eyeo makes Adblock Plus, so treat those as an industry estimate. The report also notes these tools block "ad and analytics trackers", not just ads.

Most blockers work from lists of known tracking domains. A request to google-analytics.com or facebook.com is easy to spot. A request to data.yoursite.com is not on those lists. Moving collection to your own subdomain means fewer of your events are dropped before they leave the browser.

It isn't total. The Tag Manager script itself still loads from Google's domain unless you serve it first-party too, which is what Google tag gateway is for. We've covered how big the ad-blocker problem is separately.

You decide what each platform receives

Client-side, every tag sees everything the browser exposes. Google points out that the visitor's IP address "is always broadcasted" to every vendor. You can't stop the Meta Pixel from reading the page URL, even when that URL contains something it shouldn't.

Server-side, the platforms only receive what your server sends them. You can strip a parameter, drop an IP address or keep an email address away from a platform that doesn't need it. That control is the foundation for most privacy work. We go into it in server-side tracking and user privacy.

Your pages carry less third-party code

Each client-side tag is a script the browser has to download and run. Server-side, the browser sends one stream of events instead of a separate set of requests for each platform. Fewer third-party scripts on the page can mean less work for the browser, especially on mobile.

Client-side vs server-side at a glance

Client-sideServer-side
Who sends the dataThe visitor's browser, to each platformYour server, after one request from the browser
How cookies are setBy JavaScript, which Safari caps at 7 days or lessBy your server, as first-party cookies
Ad blockersRequests to known tracking domains are blockedRequests to your own subdomain are less likely to be blocked
Control over what platforms receiveEach tag takes what the browser exposesYou choose what each platform gets
SetupAdd tags in Tag ManagerAdd a server container and a subdomain
Running costNoneHosting fees

What server-side tracking doesn't fix

It's worth being clear about the limits, because some vendors aren't.

  • Consent still applies. If a visitor says no to marketing cookies, a server doesn't change that. Your consent mode setup still has to pass their choice through, and your server still has to respect it.
  • A messy setup stays messy. If your events are named inconsistently or fire twice, they'll arrive server-side the same way. Server-side tracking sends what you give it.

When client-side tracking is still enough

Not every site needs to move. Client-side tracking is fine if:

  • You don't run paid ads, or your ad spend is small enough that a few missed conversions won't change a decision
  • You only use GA4 for broad trends, not for attributing revenue to campaigns
  • Most of your traffic is on Chrome, with few Safari users

The case for moving gets stronger as ad spend grows, as more of your audience uses iPhones and Macs, and as you start relying on platform algorithms that learn from your conversion data. Our quick checklist for marketers goes through those signs one by one.

Final thoughts

Client-side and server-side tracking use the same tags and the same platforms. The difference is who does the sending. When it's the browser, you inherit every limit the browser puts on you. When it's your own server on your own subdomain, more of your data gets through, it lasts longer and you decide where it goes.

For a fuller walk-through, including the setup steps, download our free server-side tracking guide. If you'd rather not run the server yourself, Tiide hosts it for a flat US$24 per site per month. See how it works.

Filed under Education

Free guide

Client-side vs server-side tracking, explained in plain English

More articles

5 signs: your tracking setup is costing you money

5 signs your tracking setup is costing you money

Most businesses don't know their tracking is broken. The data still flows. Reports still populate. Numbers still appear in dashboards. But beneath the surface, significant chunks of conversion data are going missing – and every gap is costing money in wasted spend and missed optimisation.
Read article
Meta CAPI: better signal, better Meta Ads results

How server-side tracking affects your Meta Ads performance

If you run Meta advertising, you've probably noticed your reported results getting harder to trust over the last few years. You're not imagining it. And server-side tracking – specifically, Meta's Conversions API – is one of the most impactful fixes available to you right now.
Read article

Ready to reclaim your data?

Get Tiide to see what you've been missing.