DATALYR

Shopify to Snapchat Conversions API.

Send every Shopify order to Snapchat so campaigns optimize on real sales. Each paid order reaches your Snap Pixel with the ad click attached.

What gets sent.

What DATALYR sends from Shopify to Snapchat Conversions API
DATALYR eventWhen it firesSent to Snapchat asWhat it carries
purchaseShopify marks an order paidPURCHASEOrder total, currency, order ID, the ScCid click ID and _scid cookie, and hashed email, phone and name when known
checkout_startedA checkout is created. Optional ruleSTART_CHECKOUTThe checkout, with a value of 0

How it's matched.

DATALYR checks these in order and stops at the first one that finds the ad click.

  1. The visitor ID the App Embed writes onto the order as a cart attribute
  2. The order email, when the cart attribute found no ad click
  3. Click IDs and UTM parameters read from the order's landing page URL

Snapchat gets the click ID (ScCid, stored as sclid) and the _scid cookie, looked up within 28 days of the click, plus email, phone and name hashed with SHA-256. DATALYR sends the same event ID the browser Snap Pixel uses, so Snapchat merges the pair.

How it works.

  1. 01

    Connect Shopify.

    Open Sources, select connect on Shopify, enter your myshopify.com domain and approve the five permissions. Then turn on the App Embed in your theme editor and save, so each order carries the visit that drove it.

  2. 02

    Connect Snapchat.

    Open Sources and connect Snapchat Ads. There is no account step. In Conversions, select manage rules, then new rule: trigger event purchase, target platform Snapchat, your Snap Pixel ID, platform event PURCHASE. Set value to dynamic and pick the currency.

  3. 03

    Check one conversion.

    Place one order from a Snapchat ad click. Find purchase in Events, then open the newest row in Conversions and read the reply from Snapchat.

Check it worked.

  • Snapchat adds ScCid to the landing URL, and DATALYR stores it as sclid. Look for sclid on the purchase in Events.
  • Select send test event. DATALYR posts to Snapchat's validate endpoint, and the response body reads VALID.
  • Trigger one real conversion, then open Snapchat Ads Manager, Events Manager. The event appears there.

View docsInstall on ShopifyShopify revenueSnapchat AdsConversion delivery

Questions, answered.

Contact us
  • In Snapchat Ads Manager, Events Manager. It is the pixel ID under the pixel name. Paste it into the Snapchat Pixel ID field on the rule. Without it the row reads skipped with pixel_id_not_configured.

  • No. DATALYR sends the same event ID the browser Snap Pixel uses, and Snapchat merges the pair into one conversion. Purchases from Shopify arrive by webhook, so send each purchase from one source.

  • As offline events. DATALYR sends webhook events to Snapchat with the action source OFFLINE, and still matches them on the click ID and hashed customer details.

See what really drives revenue.

Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.

Get started