Skip to main content
Optimizely → SnapchatIntegration guide

Connecting Optimizely to Snapchat

Optimizely deliberately shows different people different experiences, which means every conversion figure your ad platform reports is an average across variants it knows nothing about. 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 Optimizely variant assignment 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

Optimizely tests inside Snapchat's in-app browser, measured fairly

In Snapchat's in-app browser, Optimizely's anti-flicker delay loses visitors and their ScCids, more so in heavier variants. Capture the ScCid before Optimizely runs, record the variant seen inside Snapchat server-side beside it so the later order carries the right assignment, and compare ScCid capture per variant. Feature Experimentation removes flicker for Snapchat-heavy traffic.

Snapchat traffic is where client-side experiments behave worst. Pages load in the in-app browser on a phone, often on cellular data, and the anti-flicker snippet hides the page until the variant renders. On a slow load, people leave during that blank screen. If ScCid capture runs after Optimizely, the visitors you lose and the click IDs you lose are the same people, and the loss differs by variant because heavier variants render more slowly.

Bucketing breaks too. Optimizely's visitor ID lives in the in-app browser's storage. A shopper who clicks in Snapchat and returns later in Safari is a new visitor there, and may be bucketed into a different variant before buying. Record the variant seen inside Snapchat server-side alongside ScCid, so the eventual order carries the assignment that actually influenced it.

If Snapchat is a significant share of traffic, running the test server-side in Optimizely's Feature Experimentation product removes the flicker and keeps the assignment on your server. Either way, compare ScCid capture rate per variant for Snapchat visitors separately; a gap that appears on this traffic alone is a sign the test is measuring load times, not designs.

Optimizely → Snapchat · what breaks

Why this join usually fails — Optimizely → Snapchat

  1. 01

    The ScCid click identifier never reaches Optimizely

    Client-side experiments can flicker and can delay rendering, which loses landing-page identifier capture on slow connections — a bias that falls unevenly across variants.

  2. 02

    An experiment silently confounding every campaign result

    A test that moves conversion rate by fifteen percent will move every campaign's measured performance by some fraction of that, and the media team will attribute it to bidding, creative or seasonality. Anything but the test.

  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.

Optimizely → Snapchat · the fix

What working looks like — Optimizely → Snapchat

  • The ScCid click identifier on every assignment

  • Conversions arriving in Snapchat

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

  • Reconciled against the source

Optimizely → Snapchat · architecture

How Optimizely and Snapchat actually connect

  1. 1

    Optimizely holds the truth

    The variant is the missing dimension. Without it, a campaign's performance is confounded by an experiment nobody told the media team about, and both teams will draw confident, wrong conclusions.

  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 Optimizely variant assignment.

  4. 4

    The event source decides reliability

    Send purchases with the variant as a custom dimension, so campaign performance can be read per variant rather than blended.

  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.

Optimizely → Snapchat · normal or broken

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

Normal, not a fault

  • The ScCid click identifier present on the assignment

  • Sent from your order system with variant attached

  • 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

    Client-side experiments can flicker and can delay rendering, which loses landing-page identifier capture on slow connections — a bias that falls unevenly across variants.

  • Sent from the browser

    A test that moves conversion rate by fifteen percent will move every campaign's measured performance by some fraction of that, and the media team will attribute it to bidding, creative or seasonality. Anything but the test.

  • 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

Optimizely → Snapchat · diagnose

Diagnostic order — Optimizely → Snapchat

  1. 01

    Count assignments carrying the ScCid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Check for running experiments before diagnosing a performance change

    First question, not last. It costs one minute and explains a surprising share of unexplained movements.

  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.

Optimizely → Snapchat · prove

How it gets proven — Optimizely → Snapchat

Source of truth

Your order system, joined to the variant each customer was assigned.

  • The ScCid click identifier confirmed present on a live assignment.
  • Capture rate measured on Snapchat traffic specifically, and deduplication confirmed on a real conversion.
  • Orders reconciled per variant against imported conversions over the full experiment window.

Optimizely → Snapchat · free audit

What we check in the free audit

  • Count assignments carrying the ScCid click identifier
  • Follow one real conversion end to end
  • Check for running experiments before diagnosing a performance change
  • Measure capture rate on Snapchat traffic alone
  • Read the match rate, not the success message

Checked against

Your order system, joined to the variant each customer was assigned.

Get my free conversion tracking audit

Free30 minutesNo obligation

Optimizely → Snapchat · when not to buy

When you don't need this — Optimizely → Snapchat

  • Measure identifier coverage yourself first — pull your last hundred assignments and count how many carry the ScCid click identifier.
  • If you are not running experiments on pages in the paid funnel, there is no confound and nothing to integrate.
  • If your customers are not in Snapchat's age profile, the channel is the wrong question and no measurement work fixes that.

Optimizely → Snapchat · what we deliver

What gets built — Optimizely → Snapchat

  • Identifier capture into Optimizely

    Capture the identifier before the experiment framework initializes, and pass the variant assignment as a dimension alongside it.

  • Event source: your order system with variant attached

    Send purchases with the variant as a custom dimension, so campaign performance can be read per variant rather than blended.

  • 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 reverse and should retain the variant dimension.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, joined to the variant each customer was assigned.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Optimizely → Snapchat questions, answered

It runs, but flicker hiding and slow loads cost more visitors there, and the visitor ID does not carry over to Safari. Capture ScCid first and record the variant server-side.

Free · 30 min

Get Optimizely and Snapchat joined properly

Free30 minutesNo obligation