Skip to content

Server-side tracking for Shopify: what it fixes and what it doesn’t

Bily Editorial Team

Date

Last updated

Read time

Read time

Your ad platform shows fewer purchases than Shopify has orders, and someone tells you server-side tracking will fix it. If you run Shopify’s Meta or Google app, your purchases may already reach those platforms from the server. Server-side tracking is about what else gets there, how well it matches, and whether you can check it.

  • What it fixes: purchases that go missing when the browser script is blocked or never runs. It can also give you one place to check values, duplicates and consent before data leaves.

  • What it doesn’t fix: a badly defined event, a consent choice that was never collected, an attribution model you disagree with, or a slow page that keeps every old script.

The platform facts in this guide were checked against the sources listed at the end on December 3, 2026.

What server-side tracking means on Shopify

A browser pixel is a script that runs on the shopper’s device and reports what happens on the page: a product view, an add to cart, a purchase. A server-side event reports the same thing from a server to the ad platform’s API. Meta calls its API the Conversions API. The shopper’s browser takes no part in that second delivery, so a browser ad blocker cannot stop it.

On Shopify, “server-side” can mean three different things:

  • Shopify’s own channel apps. The Meta app and the Google & YouTube app can send purchases from server to server, depending on your settings.

  • A tracking app. An app such as Bily collects storefront and order events and sends them from its servers to each ad platform.

  • A tag server you run. A server-side tag container that you or an agency host and maintain.

All three change the route an event takes. None of them changes what happened in the store, and none of them makes a wrong event right.

What Shopify, Meta and Google already send from the server

Meta. Shopify’s Meta data sharing has three levels: Standard, Enhanced and Maximum. At Standard, a Meta pixel collects the data, and Shopify notes that “a browser-based ad blocker can prevent the Meta pixel from sharing data.” At Enhanced and Maximum the store also uses the Conversions API. Shopify says it “sends the purchase event between Shopify and Facebook servers”, and that data sent this way “can’t be blocked by browser-based ad blockers.”

Shopify’s page describes the purchase event only. It does not say whether views, carts and checkouts also travel from the server, so check Meta Events Manager for your own pixel before you assume either way.

Google. Google Ads Help describes a Shopify connection that imports purchases through “direct server-to-server communication”. It needs the Google & YouTube app, and Google says that if the app is already set up, the connection is “set to activate automatically, requiring no further action”. Google states the limit plainly: “only purchase conversions driven by Shopify’s ‘Checkout completed’ event are supported”. The server copy is deduplicated against the Google tag’s copy. It adds to the tag and does not replace it.

Meta’s own setup. On April 15, 2026 Meta announced a Conversions API setup it describes as “a one-click option that requires no technical expertise, no costs, no ongoing maintenance”. The announcement gives no availability date and no eligibility rules.

So a store that uses these apps does not start from zero. It starts with a purchase event that already arrives from the server, and an open question about everything else.

What the browser still sees

The browser is closest to the visit. It sees page views, product views and carts before any order exists, and it holds the click IDs and cookies that tie a visit to an ad. A server needs those identifiers too: an order sent from a server still has to be matched to a person and a click.

Browser collection is also the fragile part:

  • Safari’s Intelligent Tracking Prevention blocks all third-party cookies by default. It deletes cookies created in JavaScript after seven days in which the visitor has not interacted with the site.

  • When Safari detects a click ID added to a link, it caps JavaScript cookies set on the landing page at 24 hours.

  • Ad blockers and privacy extensions can stop a pixel from sending anything.

  • A script can load late, fire twice after a page change, or lose its context between sessions.

Chrome changed less than many expected. In April 2025 Google said it would “maintain our current approach to offering users third-party cookie choice in Chrome”. In October 2025 it retired a long list of Privacy Sandbox technologies, including Topics, Protected Audience and Attribution Reporting. Chrome still leaves third-party cookies to the user’s own setting and blocks them by default only in Incognito.

These are not reasons to discard browser data. They are reasons to know which events the browser can prove and which need a second source.

Run both, count once

Meta’s guidance is to “use the Conversions API in addition to the Meta Pixel”. It calls this a redundant event setup. Two routes for one purchase only help if the platform can tell that both copies describe the same purchase.

Meta treats a browser event and a server event as one when they carry the same event name and the same event ID and reach the same pixel within 48 hours. It then discards the later copy. It can also match on the event name with Meta’s browser ID or your own external ID. When the two copies do not differ meaningfully, Meta says it will “generally prefer the event that is received first.”

Example (made-up numbers). A store takes 100 paid orders in a week. The browser pixel reports 82 of them, because 18 shoppers blocked the script or left before it ran. The server reports all 100.

  • With the same event ID on both copies, the platform keeps one copy of each purchase and counts 100.

  • With no shared ID, it can count as many as 182.

  • With the pixel alone, it counts 82.

Check one purchase end to end

  1. Pick one real order from today. Note its order number, value and currency.

  2. In the ad platform’s event tool (for Meta, Events Manager), find that purchase and see which copies arrived: browser, server or both.

  3. Check that both copies carry the same event name and the same event ID.

  4. Check that the value and currency match the order in Shopify.

  5. Check that the platform counts one purchase, not two.

  6. If you can place an order yourself, repeat with an ad blocker on. The browser copy should be missing and the server copy should still arrive.

Checkout scripts are gone: what changed in 2025–2026

A lot of older tracking lived in places Shopify has since closed: tags pasted into checkout.liquid, the “Additional scripts” box, and script tags added by apps. Shopify’s developer documentation gives these dates:

  • August 13, 2024: Shopify’s date for ending checkout.liquid on the Information, Shipping and Payment steps. Its documentation now lists the file as unsupported there.

  • August 28, 2025: “checkout.liquid and additional scripts were sunset for the Thank you and Order status pages”. Script tags on those pages stopped the same day for Plus stores.

  • August 26, 2026: script tags on the Thank you and Order status pages stopped for all other stores.

  • October 1, 2026: the last day a script tag could be created or updated.

  • March 1, 2027: the date Shopify says script tags “will stop running on storefronts”.

The replacement is Shopify’s pixel system. App pixels are “loaded in a strict sandbox environment using web workers”, and custom pixels you add in the admin are “loaded in a lax sandbox environment”. Older pixel code that reads the page directly does not work inside the sandbox.

For tracking this means one thing. A purchase tag that used to sit on the thank-you page has moved into a pixel, moved to a server, or stopped firing. If your purchase counts changed around one of these dates, look there first. Our guide to checking Google purchase tracking after Shopify’s checkout upgrade walks through it for Google Ads.

Audit the tags you already have

Server-side tracking is often sold as a speed fix. It only speeds up a page if something leaves that page. A server route added on top of every old script makes a store neither faster nor more accurate.

List every tag and pixel that loads on your storefront. For each one, write down:

  • who owns it (a person, not a team);

  • which events it sends, and to which platform;

  • which report or decision uses those events;

  • whether another tag already sends the same event.

Then decide for each tag: keep it, move it to the server, or remove it. A tag that nobody owns and no report uses is the easy removal. Two tags that send the same purchase to the same platform are the urgent fix.

Change one thing at a time. Compare before and after on the same pages and devices: how soon the product page responds, and whether purchases still reconcile with Shopify orders. Broad performance promises are less useful than a controlled before-and-after comparison. Keep a change only if the page is no slower and the important events still arrive once, with the right value.

Google tag gateway: what it changes

Google tag gateway for advertisers “lets you deploy a Google tag using your own first-party infrastructure, hosted on your website’s domain”. Your site loads the Google tag from your own domain, not from a Google domain. In Google’s words, “some measurement requests” then travel through your domain too.

Google announced it on May 2, 2025, with rollout to start the following week. On May 8, 2025 Cloudflare opened its integration “to all customers on any Cloudflare plan”, free of charge. Google now publishes setup guides for Cloudflare, Akamai, Fastly, Google Cloud Load Balancer and Amazon CloudFront.

Google reported that advertisers who configured it “saw an 11% uplift in signals”. Read the footnote before you repeat the number. It comes from Google’s own data for one week in April 2025, and it measures Google tag script loads. It is not a figure for conversions, revenue or return on ad spend.

Three limits matter for a Shopify store:

  • It needs infrastructure you control. Google documents tag gateway for sites served through a CDN, load balancer or web server you control. Neither Google nor Shopify documents a setup for Shopify-hosted storefronts.

  • It is a routing change. The gateway changes the domain your Google tag loads from and reports to. It does not, by itself, send purchases from a server or remove duplicates.

  • It does not change consent. The same tag collects the same data. Google’s Cloudflare guide tells consent mode users to turn off the automated script setup.

First-party delivery is not the same as first-party truth. A tag served from your own domain can still fire twice, miss an order or send the wrong value. Own the route, verify what arrives, then act on it.

What server-side doesn’t change: consent and cookies

Moving an event to a server changes the route, not the rules. This section summarizes public guidance and is not legal advice.

Consent in the EU. The European Data Protection Board’s Guidelines 2/2023, adopted on October 7, 2024, cover Article 5(3) of the ePrivacy Directive. They say it applies when a site instructs the visitor’s browser to send information through pixels, tracking links, JavaScript or identifiers hashed on the device, even when another party receives it. The guidelines never mention server-side tracking, and they leave consent or exemption to a case-by-case assessment. The collection they describe happens in the browser, before any server is involved. Moving delivery to a server therefore does not by itself take you outside Article 5(3).

Consent on Shopify. Shopify’s pixel manager “will only load your pixel if there is visitor permission” for every setting the pixel declares as required. In regions where shoppers must consent to tracking, pixel callbacks run only after consent is given. The server side is not exempt: Shopify says “Server pixels are still subject to your store’s customer privacy and consent settings.”

Hashing. Ad platforms ask for customer details such as an email address to be hashed before they are sent. Hashing hides the raw value. It does not make the data anonymous. Staff in the FTC’s Office of Technology wrote in July 2024: “Companies should not act or claim as if hashing personal information renders it anonymized.”

Cookies. Safari’s seven-day rule covers cookies created in JavaScript. A cookie set by a server is treated differently, but that is not a blanket exemption. Where Safari detects third-party CNAME or IP address cloaking, it caps cookies set in the HTTP response at seven days too.

Attribution. Better delivery changes what a platform receives, not how it assigns credit. A platform can report more purchases after a tracking change without the store selling one more order. Why Meta and Shopify report different purchase numbers explains how to reconcile the two.

How Bily shows this

Bily captures product views, carts, checkouts and purchases on your Shopify store and sends them from the server to Meta, Google, TikTok, Pinterest and Snap, and to GA4. Browser and server copies share one ID so a purchase counts once, and you can see what each platform received and how well it matched.

Bily’s free tracking audit looks at your storefront from a browser: the pixels and requests it captures, duplicate signals, tracking script weight, and what fires before and after consent. It is a public browser audit, so it cannot prove server-side delivery or a completed purchase.

Odass Paris ran Bily beside its standard Shopify Conversions API connection. In one matched hour on April 27, 2025, Bily recorded 834 PageViews against 609. Read the Odass Paris story. These figures come from one account in the hour named. They are not a measure of extra sales.

Read next

Sources