Lesson 3 of 7 · 4 min read

Why server-side tracking is better for your clients

Server-side tracking moves the work from the visitor’s browser to a server the client controls. That one change brings four advantages your clients will notice.

1 · More of the data arrives

A server does not run ad blockers and does not close the tab too early. Events that reach the client’s own endpoint are processed and passed on reliably, so fewer leads and orders go missing between the site and the platforms.

2 · Returning visitors are recognised for longer

A cookie set by a server, not by a script, can be kept far longer by Safari. A customer who comes back after two weeks is still recognised as the same person.

The rule Safari applies is about IP addresses, not names: it compares the address of the server that sets the cookie with the address of the website. If both are in the same range (the first half of the address matches), the cookie lasts as long as it says. If not, it is capped at 7 days. A subdomain is therefore not the problem, and not the solution either; what counts is where it points.

An example: the shop runs at example.com on a server at 203.0.113.10. A tracking server at track.example.com that points to a cloud provider at 34.120.5.7 is in a different range, so Safari caps its cookie at 7 days, even though the name looks like the shop’s. The same collector served from example.com/t/, through the shop’s own hosting, answers from 203.0.113.x and its cookie lasts.

3 · The client decides what is shared

In the browser, every tag sees everything. On a server, the client decides which fields go to which platform, removes what should not leave, and applies consent in one place instead of in every tag.

4 · The website gets lighter

Fewer third-party scripts in the browser means less for the page to load. Sites that once carried a dozen tags can carry one.

Key takeaways

  • Server-side means fewer lost conversions and better data for bidding.
  • Visitor recognition lasts longer when the cookie is set by a server in the website’s own IP range.
  • Data sharing and consent are controlled in one place, by the client.
  • Fewer scripts make the website faster.

For your marketing agency

Better data feeds better bidding, and better bidding makes your campaigns look like what they are. Server-side tracking is one of the few changes that improves results without touching budgets or creative.

Connected lessons

A term you do not know? The glossary explains them in plain words →