Why browser-only tracking misses sales
Every ad platform drops its own script into your visitor’s browser. Ad blockers stop many of them, Safari shortens the cookies they rely on, and some buyers close the tab before the thank-you page loads. Your ads then learn from fewer sales than you really made.
Server-side tracking sends one stream of events to a server on your own subdomain, which forwards them to each platform through its API. More conversions arrive, cookies last longer, and you decide what data leaves your site. The full background is in my server-side tracking guide.
How my setup works
- 1
Free auditI check your current tags, data layer, consent and how far GA4, Google Ads and Meta are from your real orders.


- 2
Subdomain and containerYou add one DNS record; I create the server container on Stape (or Cloud Run) at a subdomain like track.yourdomain.com.


- 3
Route the eventsThe web container sends events to your server; server tags forward them to each platform. Store webhooks added where it helps.



- 4
Deduplicate and consentShared event IDs and transaction IDs so nothing counts twice, and Consent Mode v2 respected on the server.


- 5
Verify and hand overPreview mode, platform test tools and a few days of real orders compared with your backend, then a recorded walkthrough.


What is included in my setup
- 1
First-party subdomainTracking served from your own domain, so blockers leave it alone and cookies last longer.

- 2
Server container on StapeCreated in your own account, with Custom Loader and Cookie Keeper where useful.

- 3
DeduplicationShared event_id and transaction IDs between browser and server, so nothing counts twice.


- 4
Enhanced matchingHashed email and phone, click IDs, fbp and fbc sent where consent allows.


- 5
Consent Mode v2All four consent signals passed through, and tags blocked when a visitor says no.

- 6
Data controlTransformations remove personal data, IP addresses and internal IDs before anything leaves.

- 7
Backend eventsShopify order webhooks or Stripe payments, so purchases count even without a thank-you page.


- 8
Testing and handoverReal orders checked against your store, monitoring set up, and a Loom walkthrough.

Client-side vs server-side tracking
| Compared | Browser pixels only | Server-side (my setup) |
|---|
| Lost to ad blockers | Often blocked | Most of it recovered |
| Safari cookie life | Capped at 7 days or less | Server-set first-party cookies last longer |
| Data sent to vendors | Whatever each script collects | Only what you allow |
| Page speed | Several heavy third-party scripts | Lighter browser, work moved to the server |
| Running cost | Free | Hosting fee (Stape has a free tier) |
Not sure it pays off for you? Read is server-side tracking worth it or run the free server-side tracking checker.
Who it is for
Worldwide, remote
I work remotely with businesses and agencies across time zones, mostly in the USA, UK, Canada, Australia and Europe.
Results



Comfybedss: 60% to 95% of orders trackedServer-side GTM, Consent Mode v2 and enhanced conversions closed the gap between GA4 and real Shopify orders.60% → 95% of orders trackedRead the case study →

Novobeing: Stripe purchases tracked from day oneStripe Checkout purchases, GA4, Meta Pixel and CAPI, and server-side GTM on a first-party subdomain, ready before launch.3+ weeks early tracking ready before the launch targetRead the case study →


Outdoortid: a tracking stack built once, then kept honestGTM, GA4, Meta CAPI and Google Ads, moved server-side, then cleaned up as the store grew.4 projects over 16 monthsRead the case study →What I need from you- Admin access to GTM, GA4 and the ad accounts
- Access to your store or website admin
- Someone who can add one DNS record
- Your cookie banner login, if you have one
Free tools to check first