Access your interface

Enter your email address to access your personal interface.

← All articles

Blog · News

Client-side or server-side data collection

Contents

The difference comes down to one thing: who sends the data to third-party platforms. Client-side, it is your visitor’s browser. Server-side, it is your server, which receives the data first and then decides what to pass on. Everything else (resistance to blockers, cookie lifetime, page load time) follows from that shift.

Both methods serve the same purpose: collecting behavioural data and sending it to a decision-support platform. They just do it in different places, and that is what changes their properties.

Client-side tracking

This is the most widespread method, and the oldest. It relies on a web SDK, also called a tag, a JavaScript tag or a pixel: a piece of code that runs in the visitor’s browser and sends data directly to each destination system.

One practical consequence: you generally need one tag per destination. An analytics tool, three ad networks and a tag management system mean as many scripts loaded on the page.

Server-side tracking

The web SDK sends the data to your server, or to a server-side tag management provider’s. That server then passes it on to the destination systems.

So a single web SDK is used instead of one tag per destination. Collection and syncing to third parties are centralised, built on first-party data collection combined with server-side infrastructure.

What server-side brings

Thomas Belhamri of the Boryl agency lists five effects, and two of them deserve a careful reading of the condition attached.

Control over what goes out. By processing data on a proxy server, you decide what is sent, when and to whom. This is the point that matters most for data governance and for GDPR and ePrivacy compliance.

Less data lost to blockers, under certain conditions. Collection no longer depends on a script the browser may refuse to load.

First-party cookies that last, also under certain conditions. Browser protections, ITP on iOS and Safari in particular, shorten the lifetime of cookies set by a script. A server-side implementation can preserve it, which extends the period during which the same person is recognised and improves attribution and retention analyses accordingly.

Faster pages, especially on sites that load many external scripts. The effect shows in the user experience and in Core Web Vitals, and therefore in SEO.

Enriched hits. The data sent to ad platforms, Meta Ads for example, can be supplemented with first-party data from your CRM, which improves the match rate between your site’s visitors and the platform’s user base.

Two words deserve to be taken literally: “under certain conditions”. Server-side does not, by design, cancel out blockers or browser restrictions. It creates the conditions in which they can be worked around, and those conditions depend on your implementation.

Piggybacking, or the tags you never placed

One case sums up the control argument on its own. In a client-side web SDK, piggybacking is the practice whereby a script loaded for a specific task triggers one or more others, often without the site operator or the user knowing.

For an advertiser, this means five things:

  • a lack of transparency: you do not necessarily know every tag loaded in cascade from your own;
  • a security risk: every tag added this way can collect personal data;
  • a compliance risk: unauthorised collection and sharing expose you under GDPR and other regulations;
  • degraded performance: multiplying third-party tags slows page loading;
  • uncertain data quality: tags loaded in cascade collect inconsistently.

Server-side, the scope of data handling stays under the data controller’s control, both at collection and at transmission. That is what makes the method generally more reliable and less exposed to client-side mishaps: a dropped connection, an ad blocker.

What client-side keeps for itself

Server-side does not make client-side obsolete, because two things do not move.

Contextual data. Client-side tracking happens on the person’s device, which gives direct access to information that only exists there: cookies, URL parameters, the user agent, the referrer, the IP address. With a client-side implementation this information is collected straightforwardly and can trigger other actions.

Ease of set-up. Most providers supply a simple code snippet that can usually be installed by pasting it into a tag manager. It has also been standard practice for many years: the expertise is available, and the task is routine and easy to replicate.

In other words, client-side is cheaper to implement and sees things the server will never see. Server-side costs more and controls what the client cannot.

Key takeaways

  • The difference lies in where the data leaves for third parties: the browser, or your server.
  • Server-side centralises collection behind a single web SDK, whereas client-side generally needs one tag per destination.
  • Its benefits against blockers and for cookie lifetime are real but conditional: they depend on the implementation, not on the method alone.
  • Client-side keeps two advantages of its own: access to the device’s contextual data, and simple set-up backed by widely available expertise.
  • Piggybacking is the strongest argument for server-side control: it describes precisely the tags you never decided to load.

For implementation and the server-side solutions Eulerian offers, the details are in the wiki: Eulerian Server-Side.