Server-side tracking is a way of sending conversion events, such as a purchase, to an ad platform from a server instead of only from the shopper's browser. For a Shopify brand that advertises on Meta, the server-side half is the Meta Conversions API: Shopify or your own server tells Meta about each order directly, while the Meta Pixel keeps reporting what happens in the browser. Done properly, Meta sees more of your real orders, counts each one once and can match more of them to the people who saw your ads. This guide explains how server-side tracking works, the three ways to set it up on Shopify, how deduplication works, what data to send and how to check it. It is from Brand Media Works, an AI consulting and marketing data engineering firm for ecommerce brands. All facts are from Meta, Shopify and Google documentation read on 6 November 2026.

What is server-side tracking?

In browser tracking, a script on your store (a pixel) fires when a shopper views a product, adds to cart or buys, and sends that event from the shopper's browser to the ad platform. Server-side tracking sends the same kind of event from a server instead. Google describes server-side tagging as a way to "move measurement tag instrumentation from your website or app to a server-side processing container", where data is "processed and routed by other tags".

The difference matters because the browser is an unreliable place to measure from. Shopify notes that "a browser-based ad blocker can prevent the Meta pixel from sharing data", while "data sent from server to server can't be blocked by browser-based ad blockers". Meta adds that the Conversions API lets you share website events "that the Pixel may lose due to network connectivity issues or page loading errors". And every script in the browser has a cost: in Shopify's words, "the more scripts you have, the slower your store will run."

What is the Meta Conversions API?

The Meta Conversions API is Meta's server-side endpoint for conversion events. A server sends each event with a name (such as Purchase), a time, details about the customer for matching and details about the order. Meta's recommended setup is not the Conversions API instead of the Pixel but both together: "Use the Conversions API in addition to the Meta Pixel, and share the same events using both tools." Meta calls this a redundant setup. The Pixel catches browser signals, the server catches what the browser misses, and Meta removes the overlap.

Why does a Shopify brand need it?

  • Ad blockers and lost page loads. A purchase the Pixel never reports cannot inform Meta's delivery or your reporting. The server-side event still arrives.
  • The Shopify pixel sandbox. Shopify runs app and custom pixels in a sandbox, which cannot automatically read "user information, such as email and phone" from the page. Shopify says most pixel providers pass that data manually instead. The server already holds it on the order.
  • Matching. Meta states: "You can use only matched events for ads attribution and ad delivery optimization." Events sent with hashed email and phone from the order record give Meta more to match on than a browser cookie alone.
  • Consent rules still apply. In markets that require consent, usually the EEA and the UK, Shopify says web pixels "run only when visitors have provided the permissions required". Server-side tracking is not a way around consent, and it should follow the same choices the shopper made.

Three ways to set up server-side tracking on Shopify

RouteHow it worksGood fit whenWatch out for
Shopify's Facebook and Instagram channelSet data sharing to Enhanced or Maximum. Shopify sends the purchase event from its servers to Meta's, next to the Meta Pixel.Meta is the main paid channel and the standard events are enough.Little control over which fields are sent or how events are named. Shopify says these levels share name, location, email and phone for matching.
A server-side tag containerBrowser and order events go to a tagging server on your own subdomain, which forwards them to Meta, Google and others.Several ad platforms need the same events, and the brand wants one place to control what is shared.It is infrastructure to run. Google recommends at least 3 server instances for production traffic.
Custom code from Shopify order dataA small service reads new orders (from Shopify webhooks or your data warehouse) and posts them to the Conversions API.You need offline or late events, such as subscription renewals, or want events built from finance-grade order data.You own the hashing, retries and monitoring. Meta rejects the whole request if any event is more than 7 days old.

Most brands start with the first route, then move to the second or third when they need more control or more platforms. The routes can sit side by side, as long as each event is sent once per source and carries the same event ID.

Route 1: Shopify's Facebook and Instagram channel

Shopify's Facebook and Instagram by Meta channel has three data-sharing levels: Standard, Enhanced and Maximum. Standard is the Meta Pixel only. Enhanced adds the Conversions API, which "sends the purchase event between Shopify and Facebook servers". Maximum adds the Conversions API and, in Shopify's words, "Facebook's latest advertising technology". The setting is in the Shopify admin under Sales channels, Facebook and Instagram, Settings, Data sharing settings.

One detail matters for reporting. Shopify says events that track an order value use the order's total price, "including duties, taxes, and discounts". That is not the same as net revenue after refunds and before tax, so the revenue Meta reports will not tie exactly to what finance reports.

Route 2: a server-side tag container

With server-side Google Tag Manager, the store sends events to a tagging server, often on a subdomain of your store's domain, and server tags forward them to each platform. Google says "fewer measurement tags in your website or app means less code to run on the client side." On Shopify, Google Tag Manager can run as a custom pixel, but Shopify notes that tags it loads "still run within the Shopify sandbox", so the same limits apply in the browser. For live traffic, Google recommends a minimum of 3 instances and says autoscaling from 3 to 6 instances should handle 50 to 200 requests per second, depending on the tags.

Route 3: custom code from order data

A service that listens for new Shopify orders, or reads them from your warehouse, can post each one to the Conversions API with exactly the fields you choose. This is the route for events the browser never sees, which Meta describes as events "that occur offline or at a later time that the Pixel cannot capture". It also lets you send the same cleaned order data your other reports use. If you already run a warehouse, see marketing data engineering for how this fits.

Server-side tracking apps for Shopify: Blotout, Elevar and wetracked

A fourth route is a dedicated tracking app. It collects store events, adds identity data and sends them to each ad platform's server-side API for you, usually with no tagging server of your own to run. Three apps that Shopify brands often look at are listed below alphabetically, not ranked. Features and prices come from each vendor's own pages, read on 19 November 2026. Claims about accuracy are the vendors' own and have not been tested by us.

AppPriced byPublished plans (read 19 November 2026)What the vendor says it does
Blotout (EdgeTag)Events per monthEcommerce plans: Starter $60 a month with 100,000 events, Growth $400 a month with 3 million events, Professional $800 a month, Enterprise custom. Starter is monthly pay as you go. Growth and Professional are annual commitments with a 30-day trial."EdgeTag server-side CAPI for Meta, Google, TikTok, Klaviyo", plus "1P ID graph stitching across devices and sessions". Blotout also offers to run the setup as a managed service.
Elevar (now sold by Audiense as Audiense Online)Orders per monthBase $0 (up to 100 orders), Core $225 (up to 2,000), Advanced $650 (up to 10,000), Premium $1,250 (up to 30,000), Elite priced by volume. Overage fees run from $0.75 down to $0.10 an order, depending on plan. Optional expert installation is $1,000 one-off.Server-side tracking that it says can "Capture nearly 100% of conversion data and send it directly to your marketing platforms", a data layer for Google Tag Manager and Shopify's Web Pixel, and consent settings. Works on Shopify or, on Advanced and above, through an API for other platforms.
wetracked.ioOrders per monthStarter $49 (up to 500 orders), Business $149 (up to 3,000), Scale-up $249 (up to 7,500), Enterprise custom. 14-day free trial. Annual billing is 20% less.Connects Shopify, WooCommerce and several checkout tools to Meta, TikTok, X, Pinterest, Snapchat and Google Ads. Its how-it-works page says "Data is sent to your Ad Manager, linking every visit, sale, and revenue to the ad that brought the sale."

Our recommendations for comparing them:

  • Match the pricing basis to your store. Blotout prices by events, the others by orders. A store with a lot of traffic and a low conversion rate sends many events per order, so it can sit in a different price band on each model.
  • Treat accuracy claims as something to test. wetracked says native tracking scripts and the Conversions API alone "only track about 40% and this number is declining every month." That is the vendor's figure. Measure your own gap instead: compare purchases received in Meta Events Manager with Shopify orders for the same days, before and during a trial, using the checks in the section on testing below.
  • Do not double send. If an app and Shopify's own Facebook and Instagram channel both send purchases, each event needs the same event ID, or one of them should be switched off. The deduplication rules below apply to apps in the same way.
  • Check consent and identity. These apps add identity data to improve matching, and some describe fingerprinting. Elevar points to "Pre-built configurations to ensure you stay compliant with global regulations, such as CCPA & GDPR". Ask each vendor how its identity matching follows the consent choices shoppers make in your markets. This guide is not legal advice.

How does deduplication work?

Meta says that when advertisers use a redundant setup, "they must set up a deduplication method". Without one, a purchase reported by both the Pixel and the server counts twice. Meta offers two methods.

  1. Event ID and event name (recommended). The Pixel's eventID must match the Conversions API's event_id, and the Pixel's event must match the event_name. For purchases, Meta names "an order number or transaction ID" as suitable IDs. Shopify's order number works because both the browser and the server know it.
  2. fbp or external_id. Meta compares the event name with the browser cookie ID (fbp) or your own customer ID (external_id). Meta says this method generally works only when the browser event arrives first, and server events "will not be discarded if a browser event has not been received in the past 48 hours".

Two timing rules are worth knowing. If Meta finds a match "between events sent within 48 hours of each other", it only considers the first one. If the browser and server events arrive within 5 minutes of each other, it favors the browser event. And deduplication only works across sources: Meta does not remove two identical events that both came from the browser, or both from the server. So an app and a custom script both sending server-side purchases will double count, even with the same ID.

What data should you send for good match quality?

Meta scores Event Match Quality out of 10 for each web event in Events Manager. The score "indicates how effective your server event's customer information may be at matching it to a Facebook or Meta account". Meta says sending more customer information parameters "may help increase Event Match Quality". The rules that trip up most setups:

  • Hash contact details. Meta's systems "are designed to not accept customer information that is unhashed Contact Information". Email and phone are normalized (trimmed, lowercase, digits only) and then hashed with SHA-256. Meta's Business SDK hashes automatically.
  • Add the country code to phone numbers. Meta says phone numbers "must include a country code to be used for matching", even if every customer is in one country.
  • Set IP address and user agent on the server yourself. The browser adds them automatically, but Meta says they "must be manually configured for events sent through the server". The user agent is required for website events, and so is the URL where the event happened.
  • Pass the fbp and fbc cookies, unhashed. These first-party cookies hold Meta's browser ID and click ID. Meta advises refreshing their values regularly, because they change.
  • Send events promptly. Meta recommends real time or batches close to real time. Any event more than 7 days old makes Meta reject the whole request.

An example purchase event

The event below is an invented example for illustration. The order number, values and hashes are placeholders, not real data. It shows the fields that matter for deduplication and matching.

JSON
{
  "data": [
    {
      "event_name": "Purchase",
      "event_time": 1793952000,
      "event_id": "order-1042",
      "action_source": "website",
      "event_source_url": "https://www.example-store.com/checkouts/thank-you",
      "user_data": {
        "em": ["sha256-of-normalized-email"],
        "ph": ["sha256-of-phone-with-country-code"],
        "external_id": ["sha256-of-shopify-customer-id"],
        "client_ip_address": "203.0.113.24",
        "client_user_agent": "Mozilla/5.0 (iPhone)",
        "fbp": "fb.1.1793900000000.1234567890",
        "fbc": "fb.1.1793900000000.AbCdEf123"
      },
      "custom_data": {
        "currency": "USD",
        "value": 84.00,
        "order_id": "1042"
      }
    }
  ]
}

The matching Pixel event on the thank you page would send the same event name (Purchase) and the same ID (order-1042) as its eventID. That pair is what lets Meta keep one purchase, not two.

How do you check that it works?

  1. Use Meta's Test Events tool before going live. Meta recommends it "to validate your Conversions API connection", and it shows whether server events arrive and whether duplicates are removed.
  2. Read Event Match Quality for Purchase in Events Manager after a few days of traffic, and look at which customer fields Meta says are missing.
  3. Compare Meta's purchase count with Shopify's order count for the same days. A Meta count well above Shopify's suggests double counting. One well below suggests missing server events or broken matching.
  4. Watch for duplicate sources. If an app and the Shopify channel both send server-side purchases, turn one off. Meta does not deduplicate two server events.

Better tracking improves what Meta sees and optimizes on. It does not show whether the ads caused the sales. For that, run a holdout test: Meta itself points to Conversion Lift studies to "understand the incremental performance impact" of server events. Our guide to incrementality testing explains how to design one.

Book a discovery call

Frequently asked questions

Does Shopify have server-side tracking built in?

For Meta, yes. Shopify's Facebook and Instagram by Meta channel adds the Conversions API at the Enhanced and Maximum data-sharing levels, sending the purchase event from Shopify's servers to Meta's. Other platforms need their own integration, a server-side tag container or custom code. Whichever route you take, we recommend agreeing event names and properties in a tracking plan first.

Do I still need the Meta Pixel if I use the Conversions API?

Meta recommends keeping both. Its best practice is to use the Conversions API "in addition to the Meta Pixel" and send the same events through each, with an event ID so that duplicates are removed.

Why does Meta report more purchases than Shopify?

The usual cause is double counting: the Pixel and server events do not share an event ID, or two server-side sources send the same purchase. Meta only removes duplicates across the browser and the server, and only when the event name and ID match. Meta also counts differently from Shopify: it credits a purchase to an ad view or click within your attribution setting, while Shopify counts every order.