Home » Blog » E-commerce analytics after cookies: server-side and first-party tracking in 2026
Blog

E-commerce analytics after cookies: server-side and first-party tracking in 2026

Serhii Nikolaienko Serhii Nikolaienko 5 min read

Your analytics reports lie, and increasingly so. Between ad blockers, browser restrictions, and the growing refusal of cookies, a significant share of your visitors and conversions no longer appears in your data. For an e-commerce business, that’s flying blind: you optimise your campaigns on false numbers. Server-side and first-party tracking is 2026’s technical answer to this problem.

Careful: it’s not a magic formula, nor a way to bypass consent. It’s a more reliable and more respectful way to collect the data your users agreed to share. This article explains what you lose with client-side only, what server-side solves, how to implement it on WooCommerce, and — importantly — when NOT to bother. Target audience: marketing analysts and e-commerce managers.


What you lose with client-side only in 2026

Traditional tracking (client-side) places a script in the visitor’s browser, which sends data directly to the servers of Google, Meta, etc. This model is increasingly degraded:

  • Safari (ITP) limits the lifetime of first-party cookies to 7 days, even 24h in some cases, and blocks third-party cookies. A huge share of mobile traffic goes through Safari.
  • Firefox blocks third-party trackers by default.
  • Ad blockers (present in 30 to 40% of users depending on audiences) simply prevent the loading of Google Analytics scripts and pixels.
  • Consent refusal: when the user refuses cookies, client-side collects nothing.

Cumulative result: depending on audiences, 15 to 40% of events are never recorded client-side. Your conversion rates are underestimated, your attributions are wrong, and you pay for advertising without measuring its true return.


Server-side GTM: what it is, what it solves

Server-side tracking moves collection from the browser to a server you control (typically via server-side Google Tag Manager, hosted on your own container). The browser sends the event to your server, which then relays it to Google Analytics, Meta, etc.

What it changes:

  • Ad-blocker resistance: requests go to your domain, not to google-analytics.com. Blockers, which filter by known domain lists, are much less effective.
  • Robust first-party cookies: set server-side, they escape ITP restrictions on cookies created by JavaScript.
  • Data control: you decide what goes to third-party platforms — you can filter, anonymise, enrich before sending. It’s a real GDPR asset.
  • Performance: fewer third-party scripts in the browser, lighter page.

Important: server-side does NOT remove the need for consent. If the user refuses, you don’t collect. It simply makes consented collection more reliable and more respectful.


First-party identifiers and consent

Server-side goes hand in hand with a first-party data strategy: you identify your (consenting) users with your own identifiers, on your domain, rather than depending on disappearing third-party cookies. Coupled with a consent mode, the system adapts collection to what the user accepted: full data if they consent, anonymised or modelled data if they refuse.


Practical implementation on WooCommerce + GA4

Concretely, here are the building blocks of a server-side setup on a WooCommerce store:

  1. A server-side GTM container hosted on a subdomain of your site (for example metrics.yourstore.com), on dedicated cloud hosting.
  2. The WooCommerce data layer: e-commerce events (product view, add to cart, purchase) are pushed to the data layer with transaction details.
  3. The relay to GA4 via the server-side container, using the measurement protocol.
  4. The Meta/TikTok Conversion API for ad campaigns: conversions are sent server-side, which clearly improves attribution and campaign optimisation.
  5. Consent Mode wired to your CMP, to respect the user’s choices.

Meta/TikTok Conversion API for advertising

This is often the strongest ROI argument. When you advertise on Meta or TikTok, these platforms need to receive conversions to optimise delivery. With client-side only, a large part of conversions doesn’t reach them (blockers, iOS). The server-side Conversion API restores this signal: ad algorithms recover the conversions, optimise better, and your cost per acquisition drops. For a significant ad budget, server-side often pays for itself quickly through this lever alone.


Costs and complexity

Let’s be honest about cost: server-side adds infrastructure (the cloud container, a few tens to hundreds of euros per month depending on traffic) and setup complexity (count a serious project, not an afternoon). It’s not trivial. The return comes from two sources: more reliable data to decide with, and better ad performance. The higher your ad budget and volume, the more the calculation tips in favour of server-side.


When NOT to switch to server-side

Server-side isn’t for everyone. Don’t go for it if: your traffic is low (a few hundred visits/month), you don’t run paid advertising, or your current client-side tracking sufficiently meets your decision needs. In those cases, the complexity and cost aren’t justified. Server-side is a maturity investment: it makes full sense when you have volume, an ad budget, and data-driven decisions to make. Below that, it’s engineering for fun.


In practice

Server-side and first-party tracking isn’t a fad: it’s the rational answer to the structural degradation of client-side tracking. It restores the reliability of your data and the effectiveness of your campaigns — provided you have the volume that justifies the investment, and always respecting consent.

At Seganiko, we set up server-side tracking on WooCommerce stores, in connection with your SEO strategy and your ad campaigns. We start with an audit of your current tracking: how much data you really lose, and what server-side would gain you. This audit is free.

Free tracking audit


Share

Need to improve your SEO?

We audit your site and implement a measurable SEO strategy.

See our SEO service →
Any questions?

Let's discuss
your project.

Free first consultation, no strings attached.