Server-Side Tracking: Why It Matters for E-commerce
Ad blockers and browser restrictions break client-side tracking. Server-side tracking ensures you never miss a conversion.
Wilmer
Co-founder & CEO
Ad blockers are installed on roughly 30% of browsers worldwide. Safari's Intelligent Tracking Prevention limits cookie lifetimes to 7 days. Firefox blocks third-party cookies by default. Every one of these protections degrades your client-side analytics, and the trend is accelerating.
Research from PageFair shows that ad blocker usage continues to grow, particularly among younger demographics and tech-savvy audiences - often the most valuable customer segments. If your analytics relies entirely on client-side JavaScript, you are systematically under-counting your most engaged visitors.
The Client-Side Problem
How Client-Side Tracking Works
Traditional analytics works by loading a JavaScript snippet on your web pages. When a visitor arrives, the script fires, sends data to the analytics platform, and sets cookies to identify the visitor across sessions. Every pageview, click, and conversion event follows this same pattern: JavaScript runs in the browser, data gets sent to a third-party endpoint.
What Breaks It
Ad blockers recognize analytics scripts and block them from loading. Browser privacy features restrict or delete tracking cookies. JavaScript errors on the page can prevent the tracking code from executing. Slow connections cause the page to be closed before the script loads. Privacy-conscious visitors use browsers that strip tracking parameters.
The Impact on E-commerce
For a store with 100 daily orders, losing 20-30% of tracking data means 20-30 conversions per day are invisible to your analytics. Your customer acquisition cost calculations are inflated because you see the spend but miss the conversions. Your ROAS looks worse than it actually is. Attribution models are trained on incomplete data, leading to bad budget allocation decisions.
What Server-Side Tracking Is
The Concept
Server-side tracking sends data from your server directly to analytics and advertising platforms, bypassing the browser entirely. When a customer completes a purchase, your server sends the conversion event to Google, Facebook, and your analytics platform. No JavaScript required, no browser involved.
How It Works
The flow changes from browser-centric to server-centric. In the client-side model: visitor's browser loads page, JavaScript fires, data sent to analytics. In the server-side model: visitor's browser loads page, your server processes the request, your server sends data to analytics.
For conversion events specifically: the customer completes checkout, your payment processor confirms the transaction, your server sends the conversion data to each platform with the order details.
What You Can Track Server-Side
Conversion events are the highest priority for server-side tracking: purchases with revenue, refunds and cancellations, subscription events, and lead form submissions. These are the events that directly impact your business metrics and ad platform optimization.
You can also track pageviews and engagement events server-side, though this requires more infrastructure since the server needs to process every page request rather than just conversion events.
Implementation Approaches
Platform-Specific APIs
Most ad platforms now offer server-side APIs. Facebook's Conversions API sends events directly from your server. Google's Measurement Protocol does the same for GA4. These APIs accept the same event data as the client-side pixels but receive it from your server instead.
The key is deduplication - when you run both client-side and server-side tracking (recommended), you need event IDs to prevent double-counting. Each event gets a unique ID, and the platform deduplicates events with matching IDs regardless of whether they arrived client-side or server-side.
Tag Management Server-Side Containers
Google Tag Manager offers a server-side container option where client-side tags send data to your own server, which then forwards events to analytics platforms. This provides a middle ground between full client-side and full server-side approaches.
E-commerce Platform Webhooks
Shopify, WooCommerce, and BigCommerce all support webhooks that fire when orders are created, updated, or cancelled. These webhooks can trigger server-side tracking events without any custom code on your storefront.
Best Practices
Run Both Client-Side and Server-Side
Do not replace client-side tracking entirely. Use both approaches with deduplication. Client-side captures rich browser data like scroll depth, mouse movements, and real-time engagement. Server-side ensures critical conversions are never missed. The combination gives you both breadth and reliability.
Prioritize Conversion Events
Start server-side tracking with the events that matter most: purchases, signups, and other conversion actions. These are the events that feed ad platform optimization algorithms and directly impact your marketing spend decisions.
Maintain Data Quality
Server-side tracking requires careful attention to data quality. Ensure you pass consistent event names, accurate revenue figures, proper currency codes, and valid customer identifiers. Mistakes in server-side data are harder to detect because you cannot use browser developer tools to inspect the events.
Handle Privacy Correctly
Server-side tracking does not bypass privacy requirements. You still need user consent where required by GDPR and other regulations. The tracking happens server-side, but the consent decision must be captured client-side and respected in your server logic.
Arktis uses a hybrid approach with first-party data collection that works reliably regardless of ad blockers and browser restrictions.
Sources
1. PageFair, "Ad Blocker Report"
2. Meta, "Conversions API Documentation"
Frequently Asked Questions
Does server-side tracking bypass ad blockers?
Yes, for the events sent server-side. Since the data goes directly from your server to the analytics platform, browser-based ad blockers have no ability to intercept it. However, you should still respect user consent choices - server-side tracking bypasses technical limitations, not privacy rights.
Is server-side tracking harder to set up?
It requires more technical effort than dropping a JavaScript snippet. You need server-side code to send events via API calls, handle authentication with each platform, and manage deduplication. However, e-commerce platforms like Shopify have built-in webhook support that simplifies the process significantly.
Will server-side tracking slow down my site?
No, it typically improves site speed. By moving tracking logic to the server, you reduce the JavaScript payload that browsers need to download and execute. Pages load faster because they carry less tracking code, while your server handles the data transmission in the background.
Free tools for this topic
From the blog
Try Arktis free for 7 days
Attribution tracking, session recordings, and AI automation in one platform. Set up in 2 minutes, free for 7 days.
Start 7-day free trialWritten by
Wilmer
Co-founder & CEO
Wilmer leads product strategy at Arktis, focusing on privacy-first analytics and attribution tracking for e-commerce brands.