If your returning-visitor numbers look too low, the way your cookies are written might be the reason.
Two ways to write a cookie
From JavaScript in the browser. This is how most analytics and ad tags work: a script runs and writes a cookie with document.cookie. Safari's Intelligent Tracking Prevention caps the lifetime of these script-written cookies, commonly to seven days.
From the server, via an HTTP response header. The server sends a Set-Cookie header from your own subdomain. Server-set cookies aren't subject to the same ITP cap.
The practical effect: with script-set cookies, a customer who returns on day ten looks like a brand new visitor. That skews attribution, retention numbers and anything built on new vs returning.
Where server-side tagging comes in
This is one of the main reasons teams move to server-side tagging. In a client-side setup, each vendor's script runs in the browser and sends data straight to its own domain. In a server-side setup, the page sends data to a container on your own domain, which then forwards events to GA4, Google Ads, Meta and the rest over server-to-server connections.
Because that container sits on your subdomain, it can set identifiers through response headers, so they last through a realistic buying cycle.
It also helps with blocked requests
Requests to well-known vendor domains are easy for blockers and tracking-prevention lists to identify and drop. With server-side tagging, the first request goes to your own first-party endpoint, which is less likely to be blocked, and forwarding happens where the browser can't interfere.
It reduces loss rather than eliminating it. Some blockers inspect behaviour, not just domains.
The trade-offs
- Cost: you pay for the cloud environment hosting the container, and the bill grows with traffic.
- Ownership: someone has to monitor it and keep clients and tags current.
- Browser-only signals: the server can't see them unless the browser passes them on.
- Consent still applies: server-side is not a way around it. Capture consent and fire tags based on it, either way.
The setup most teams end up with
A hybrid. A slim browser container collects events, captures consent and reads browser-only signals, then hands them to the server container, which handles forwarding, identity and data governance. If you're on GA4, it can receive data from a server container, so your existing property and reports stay in place.
For a small site with modest traffic and nobody to maintain a server, client-side is still the sensible starting point.
Full side-by-side: client-side vs server-side tracking`
`

