Server-Side Tracking and GDPR: What It Changes, and What It Does Not
Server-side tracking changes where analytics data is processed and what is forwarded to vendors. It does not change whether you need consent or a legal basis. If a cookie or identifier is still stored on or read from the device, the ePrivacy Directive applies; if personal data is processed, GDPR applies. What server-side can genuinely change is what leaves your control, where it is processed and how much of it survives ad blockers.
Key Takeaways
- ePrivacy Article 5(3) is about storing or accessing information on the device, whether or not it is personal data. Moving processing to a server does not remove that step.
- The EDPB's 2024 guidelines treat JavaScript that instructs the browser to send information as gaining access, and also cover pixels, tracking URLs and IP-based tracking. Applicability does not automatically mean consent is needed.
- A cookie set by your server container is still a cookie on the visitor's device.
- Server-side helps when it is used to minimise: the CNIL's 2022 proxy conditions for Google Analytics remove the IP address, replace identifiers and delete URL parameters and the external referrer.
- Those same conditions remove the campaign parameters attribution depends on. Compliance by proxy and campaign attribution pull in opposite directions.
Server-side tracking is often sold to European marketing teams as three benefits at once: ad blockers stop blocking, data stops leaking to vendors, and the consent problem goes away. The first is largely true. The second is true only if you configure it that way. The third is a misunderstanding, and it is the one that tends to end up in a DPO's inbox.
This piece separates the technical change from the legal questions. It is not legal advice, and conclusions about a real deployment belong with your DPO and your national authority's guidance. The broader legal test for analytics is set out in our GDPR and ePrivacy assessment.
What server-side tracking actually is
In a client-side setup, tags in the browser send data straight to each vendor. In a server-side setup, the browser sends data to a server you run, usually on a subdomain of your own site, and that server decides what to forward to which vendor. Google's server-side tagging works this way: a server container processes incoming events and routes them to collection servers.
Two things do not change. There is still code running in the browser that collects and sends the data. And unless you strip it, the data that arrives at your server — IP address, user agent, cookies, URL parameters — is the same data that used to go to the vendor directly.
Three legal questions a server container does not answer
1. Is anything stored on or read from the device?
Article 5(3) of the ePrivacy Directive requires consent for storing information on a user's device, or accessing information already stored there, unless an exemption applies. The EDPB, citing the Court of Justice in Planet49, states that this protection applies to any information stored in the device, regardless of whether it is personal data. Where the data is processed afterwards is irrelevant to this step.
Server-side setups frequently keep a first-party cookie, often set by the server container itself so that it survives browser limits on script-set cookies. It is still stored on the device. And in its Guidelines 2/2023, adopted in their final version in October 2024, the EDPB goes further: JavaScript that instructs the browser to send asynchronous requests with the targeted information falls within Article 5(3), as do tracking pixels, tracking URLs and, in some cases, tracking based on the IP address alone. The same guidelines recall that applicability does not systematically mean consent must be collected: exemptions still have to be assessed.
2. Is personal data processed, and on what basis?
GDPR applies whenever personal data is processed, on your server or anyone else's. IP addresses, client IDs and user IDs arriving at a server container are processed by you as controller, and anything forwarded makes the vendor a recipient. A server-side architecture needs the same legal basis, records and contracts as the client-side one it replaced.
3. Does data leave the EU?
Hosting the container in the EU does not change what happens next. If it forwards personal data to a vendor that processes it outside the EU, that is a transfer, and it needs a transfer mechanism. Server-side only prevents the transfer if it forwards nothing personal, or forwards to no one outside the EU.
What server-side can genuinely change
Used deliberately, a server in the middle is a good place to minimise. The clearest public example is the CNIL's 2022 guidance on audience measurement and data transfers, which described a proxy for Google Analytics that could reduce transfer risks only with a set of measures:
- No transfer of the visitor's IP address to the analytics tool's servers.
- The user identifier replaced by the proxy server.
- Deletion of any parameter contained in collected URLs.
- Removal of the external referrer, and reprocessing of user agents.
- No cross-site collection, and removal of any data that could lead to re-identification.
- Hosting in conditions that avoid transfers to countries without essentially equivalent protection.
The CNIL added that changing the tool's IP settings alone is not enough. Beyond minimisation, server-side can also move processing to an EU location you choose, reduce the number of third-party scripts running on your pages, and make requests far less likely to be blocked when the endpoint is your own subdomain.
The attribution cost of doing it properly
Read the CNIL's list again as a marketer. Deleting URL parameters removes the UTMs and click IDs every campaign report is built on. Removing the external referrer removes the signal that separates search from social from referral. Replacing the identifier cuts the history that user-level attribution models need. A proxy configured to those conditions keeps an analytics tool running and leaves it with little to say about which channels produced the revenue.
That is the real trade-off behind “server-side for compliance”: the more personal and identifying data you strip, the less of the attribution you bought the tool for survives. It is the same tension, from another angle, as the one described in Consent Mode: what GA4 measures and what it models.
Five claims to check before you sign off a server-side project
| Claim | What to check |
|---|---|
| “Server-side is cookieless” | Whether the container or the tags still set or read a cookie, including one set through the server's response headers |
| “Server-side does not need consent” | What is stored on or accessed from the device, and whether a specific exemption applies under your authority's criteria |
| “It recovers the conversions ad blockers hid” | That is a technical effect; it creates no legal basis for measuring visitors who refused consent |
| “A first-party subdomain makes it first-party data” | The domain is a technical detail; who is controller and who receives the data is unchanged |
| “Server-side keeps data in the EU” | Which vendors the container forwards to, what fields they receive and where they process them |
A review checklist for the DPO
- Device: list every cookie, storage key and script-initiated request, including those set or triggered by the server.
- Inbound data: list the fields that reach the server — IP, user agent, identifiers, full URLs, referrer.
- Outbound data: for each vendor, the fields forwarded after processing, and whether any of them identifies a person.
- Location: where the container runs and where each recipient processes the data.
- Retention: how long raw events and logs are kept on the server.
- Consent gating: which forwarding rules depend on the visitor's consent state, and how that state reaches the server.
Where Sealmetrics fits, and where it does not
Sealmetrics is not a server container for other vendors. A small script in the browser sends each hit to Sealmetrics, optionally through a subdomain of your own, and processing happens on servers in Dublin; on Shopify, purchases arrive server-side through the store's webhook. It sets no cookies and uses no local or session storage. It does not persist IP addresses — they are used in memory only — or user identifiers; a session marker lives in memory for about two hours; the country comes from the browser's timezone; and event-level rows are purged after a day. The details are in demonstrate compliance.
Because it forwards nothing to advertising vendors, it keeps the landing page's UTMs and referrer, which is what campaign attribution needs. It does not escape the analysis above, though. Under the EDPB's reading, a script that sends information from the browser can fall within Article 5(3), so the question for any analytics tool — ours included — is whether an exemption applies to that configuration in your market. Several authorities, the CNIL among them, publish criteria for audience measurement that can be used without consent; whether a deployment meets them is for you and your DPO to assess. The concept is explained in consentless analytics.
Related reading
Questions about server-side tracking and GDPR
Does server-side tracking make GA4 GDPR compliant?
Not on its own. A server container changes where data is processed and what is forwarded, but the legal questions stay: whether anything is stored on or read from the device, whether personal data such as IP addresses or identifiers is processed, on what legal basis, and whether data is transferred outside the EU. Server-side can help answer them well; it does not answer them by existing.
Does server-side tracking remove the need for cookie consent?
No. Consent under Article 5(3) of the ePrivacy Directive depends on storing or accessing information on the user's device, not on where the data is processed afterwards. A cookie set by your server is still stored on the device, and the EDPB's 2024 guidelines treat JavaScript that instructs the browser to send information as gaining access. Whether an exemption applies is assessed case by case.
Is server-side tracking cookieless?
Not necessarily. Many server-side setups keep a first-party cookie, often set by the server container itself through an HTTP response header so that it lasts longer in browsers that restrict script-set cookies. That cookie is still stored on the visitor's device. Server-side and cookieless are independent choices.
What did the CNIL say about using a proxy server for Google Analytics?
In its 2022 guidance on audience measurement and data transfers, the CNIL described a proxy that could reduce transfer risks only with a set of measures: no transfer of the IP address to the tool's servers, replacing the user identifier, deleting URL parameters, removing the external referrer, reprocessing user agents, no cross-site collection and appropriate hosting. It said changing IP settings alone is not enough.
Does ePrivacy apply if no personal data is collected?
It can. The EDPB, citing the Court of Justice in Planet49, states that the protection of Article 5(3) applies to any information stored in terminal equipment regardless of whether it is personal data. GDPR is a separate question: it applies when personal data is processed. An analytics setup has to pass both tests, which is why removing personal data does not by itself settle the consent question.
Is Sealmetrics server-side tracking?
Partly. A small script in the browser sends each hit to Sealmetrics, optionally through a subdomain of your own, and processing happens on servers in Dublin; on Shopify, purchases arrive server-side by webhook. It sets no cookies and stores nothing on the device, and it does not persist IP addresses or user identifiers. Whether that configuration is exempt from consent in your market depends on your national authority's criteria.