Skip to main content
Shopify → SnapchatIntegration guide

Connecting Shopify to Snapchat

Shopify is the system of record for the order, and its admin numbers are the ones the business runs on. Snapchat's audience is young, almost entirely mobile and inside an in-app browser, which is the least forgiving environment for browser-based tracking anywhere in paid media. The join between them succeeds or fails on one thing: whether the ScCid click identifier reaches the Shopify order before the conversion happens, because Snapchat can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Shopify to Snapchat: write ScCid to the cart before it's lost

Snapchat's in-app browser can lose the pixel cookie, so on the first storefront page view write ScCid into a cart attribute through the AJAX cart API. Then send PURCHASE from orders/paid to Snapchat's Conversions API with ScCid and hashed email and phone, sharing the Shopify order ID as event identifier with any app pixel. Measure ScCid coverage on Snapchat-tagged orders.

Snapchat ads open Shopify product pages inside Snapchat's in-app browser, and the cookie the pixel relies on may not survive the session, let alone the checkout. On Shopify the fix is specific: on the first storefront page view, write ScCid into a cart attribute through the AJAX cart API so it travels into the order as a note attribute, independent of browser storage. The orders/paid webhook can then send PURCHASE to Snapchat's Conversions API with ScCid and hashed email and phone from the order.

Check whether you're already running Snapchat's Shopify app. If it sends pixel events through Shopify's customer events, your server PURCHASE needs the same event identifier or Snapchat counts both. The Shopify order ID is the simplest shared value; if the app doesn't let you set it, choose one source for purchases rather than running two.

Shop Pay and other express checkouts are common on mobile and can skip the cart page, so write the cart attribute on landing, not on cart view. Then measure one number: the share of paid orders from Snapchat-tagged sessions that carry a ScCid. It tells you whether the build works on the traffic you're paying for, which a healthy store-wide rate can hide.

Shopify → Snapchat · what breaks

Why this join usually fails — Shopify → Snapchat

  1. 01

    The ScCid click identifier never reaches Shopify

    Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.

  2. 02

    Checkout extensibility hides what you need

    Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.

  3. 03

    The in-app browser loses the identifier

    Snapchat traffic arrives through a webview with inconsistent storage. Anything relying on the identifier still being in the browser at conversion time will lose a large share, and the loss is invisible unless you measure capture on Snapchat traffic specifically.

  4. 04

    Nothing reconciles afterwards

    Snapchat Ads Manager shows received and matched events. Arriving is not the test — deduplicated and matched is. Reconcile against your own records for the same window.

Shopify → Snapchat · the fix

What working looks like — Shopify → Snapchat

  • The ScCid click identifier on every order

  • Conversions arriving in Snapchat

    Events appear in Snapchat Ads Manager, deduplicated against the pixel, and become usable for optimization.

  • Reconciled against the source

Shopify → Snapchat · architecture

How Shopify and Snapchat actually connect

  1. 1

    Shopify holds the truth

    The order carries line items, discounts, shipping, tax, currency and the customer. Note which figure you intend to report — total, subtotal, or net of shipping and tax — because most mismatches between Shopify and an ad platform turn out to be two people comparing two different numbers.

  2. 2

    Snapchat needs a click to match

    Snapchat matches server events on the click identifier and hashed customer information. Send both — on this traffic the fallback carries a meaningful share of the events.

  3. 3

    The identifier is the bridge

    The ScCid click identifier, captured at the visit and carried into the Shopify order.

  4. 4

    The event source decides reliability

    Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.

  5. 5

    Deduplication at the destination

    Snapchat deduplicates on a client-supplied event identifier shared between the pixel and the Conversions API, the same pattern as Meta. Mismatched identifiers mean double counting.

Shopify → Snapchat · normal or broken

Working vs. broken, side by side — Shopify → Snapchat

Normal, not a fault

  • The ScCid click identifier present on the order

  • Sent from the orders/paid webhook

  • Deduplicated correctly

    Snapchat deduplicates on a client-supplied event identifier shared between the pixel and the Conversions API, the same pattern as Meta. Mismatched identifiers mean double counting.

  • Reconciles with the source

Actually broken

  • The ScCid click identifier missing on most records

    Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.

  • Sent from the browser

    Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.

  • Counted twice, or not at all

    Snapchat traffic arrives through a webview with inconsistent storage. Anything relying on the identifier still being in the browser at conversion time will lose a large share, and the loss is invisible unless you measure capture on Snapchat traffic specifically.

  • Nobody has reconciled it

Shopify → Snapchat · diagnose

Diagnostic order — Shopify → Snapchat

  1. 01

    Count orders carrying the ScCid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a recent paid order and read its note attributes

    If the identifier is not on the order, nothing downstream can attribute it. Check ten orders, not one — partial coverage is the normal failure, not total absence.

  4. 04

    Measure capture rate on Snapchat traffic alone

    The in-app browser is the failure case, so a healthy overall rate can hide a poor one on precisely the traffic you are paying for.

  5. 05

    Read the match rate, not the success message

    Snapchat Ads Manager shows received and matched events. Arriving is not the test — deduplicated and matched is. Reconcile against your own records for the same window.

Shopify → Snapchat · prove

How it gets proven — Shopify → Snapchat

Source of truth

Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.

  • The ScCid click identifier confirmed present on a live order.
  • Capture rate measured on Snapchat traffic specifically, and deduplication confirmed on a real conversion.
  • Order totals in Shopify Admin reconciled per order, not on the summed total, over a closed window.

Shopify → Snapchat · free audit

What we check in the free audit

  • Count orders carrying the ScCid click identifier
  • Follow one real conversion end to end
  • Open a recent paid order and read its note attributes
  • Measure capture rate on Snapchat traffic alone
  • Read the match rate, not the success message

Checked against

Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.

Get my free conversion tracking audit

Free30 minutesNo obligation

Shopify → Snapchat · when not to buy

When you don't need this — Shopify → Snapchat

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the ScCid click identifier.
  • Shopify's own native channel integrations already cover simple single-currency stores adequately. If your admin numbers and platform numbers already agree, you do not need this.
  • If your customers are not in Snapchat's age profile, the channel is the wrong question and no measurement work fixes that.

Shopify → Snapchat · what we deliver

What gets built — Shopify → Snapchat

  • Identifier capture into Shopify

    Capture the click identifier on the storefront, write it to a cart attribute so it becomes an order note attribute, and read it back server-side from the order. That path survives the checkout domain hop that breaks cookie-based approaches.

  • Event source: the orders/paid webhook

    Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.

  • Dispatch to Snapchat

    Server events to the Snapchat Conversions API with the click identifier, hashed customer data and a matched event identifier.

  • Reversals where they exist

    refunds/create fires with the original order reference, so refunds and cancellations can be reversed at the destination.

Written guarantee

95%+ tracking accuracy

Measured against Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Shopify → Snapchat questions, answered

Snapchat's in-app browser often loses the pixel's cookie before checkout, and Shopify's checkout won't run your code to recover it. Store ScCid in a cart attribute on landing and send PURCHASE from the paid-order webhook.

Free · 30 min

Get Shopify and Snapchat joined properly

Free30 minutesNo obligation