All guides
Setup

Shopify server-side tracking, explained in plain English

Updated November 22, 2026

Server-side tracking sends conversion data to ad platforms from a server instead of only from the shopper's browser. It's the reason Meta has the Conversions API, Google Ads has enhanced conversions and offline imports, and TikTok, Pinterest and Snapchat have their own events APIs.

Browser tracking: how pixels work

A pixel is a script that runs in the shopper's browser. When the shopper views a product or completes checkout, the script sends an event straight to Meta, Google or TikTok.

That works until something gets in the way: an ad blocker, browser privacy features that limit cookies, a slow connection, or a shopper who closes the tab before the thank-you page finishes loading. Each of these can mean an order the ad platform never hears about.

Server-side tracking: how it differs

With server-side tracking, the event is sent from a server you (or your app) control. For Shopify purchases, the most reliable source is the order itself: Shopify tells the server about each new order, and the server sends the purchase to each ad platform's API.

Because the order already exists in Shopify, the purchase is sent even if the shopper's browser blocked the pixel.

What it improves

  • Purchases are reported to ad platforms even when browser scripts are blocked.
  • Matching: the server can send hashed customer details (email, phone) from the order, which helps platforms link the order to an ad click.
  • Accurate values: the purchase value, currency and items come from the order, not from what the page showed.
  • Refunds: some platforms (such as Google Ads) accept adjustments when an order is refunded.
  • Fewer scripts on the storefront, which can help page speed.

What it doesn't change

  • Consent still applies. If a visitor declines marketing cookies, you must respect that. Server-side tracking is not a way around a cookie banner, and good tools pass the visitor's consent along.
  • Attribution windows and platform reporting rules stay the same, so numbers still won't match Shopify exactly.
  • Browser events are still useful: platforms use them for audiences and for linking the visit to the ad. The best setup sends both and deduplicates them.

Ways to set it up on Shopify

  • Official channel apps (Facebook & Instagram, Google & YouTube, TikTok) send some server events for their own platform.
  • Server-side Google Tag Manager: very flexible, but you host and pay for a server container and build each tag yourself.
  • A server-side tracking app such as TrakIt, which sends purchases from your Shopify orders to several platforms at once, with the browser events deduplicated.

Questions

Do I still need the browser pixel?

Yes, in most cases. Platforms use browser events for audiences and to connect visits to ad clicks. Send both, with matching event IDs so they're counted once.

Is server-side tracking allowed under GDPR?

It's a way of sending data, not an exemption. You still need a legal basis and consent where required, and you must pass the visitor's consent choice to the platforms.

Does server-side tracking slow my store down?

No. The purchase is sent from a server after the order is created, so nothing extra runs in the shopper's browser for it.