Skip to main content
Loox → MixpanelIntegration guide

Connecting Loox to Mixpanel

Loox is photo reviews and referrals for Shopify, and the referral half is where the measurement problem lives — a customer-to-customer referral is not paid media, no matter which cookie is still sitting in the browser. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Loox referral order before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Loox in Mixpanel: a referral funnel from landing to first order

Build a Mixpanel funnel from referral landing to referral discount applied to order completed. Register the referral source as a super property on landing and save the distinct_id in a Shopify cart attribute so the order webhook sends the purchase under the same ID, with order ID as $insert_id. Use a referral property, not a new event.

A Mixpanel funnel for the Loox referral program has three steps you control: the friend lands with the referral parameter, applies the referral discount, and completes the order. Sharing happens inside Loox's own flow, so whether you can add a fourth step for the referrer sending the link depends on what Loox exposes through integrations, webhooks or exports on your plan. Check before promising that funnel to anyone.

The friend is a brand-new anonymous visitor. Register the referral source as a super property on landing so every event in that session carries it, and save the Mixpanel distinct_id into a Shopify cart attribute so the order webhook can send the purchase server-side under the same ID. Without that, the order lands on a new profile and the funnel breaks at checkout every time. Use the Shopify order ID as $insert_id.

Keep the purchase event's name identical to the one your product or growth team already uses. A separate Referral Purchase event splits every revenue funnel in two; a referral property on the existing purchase event doesn't. The useful output is how many referral landings reach checkout and where they drop, which tells you whether the referral discount or the landing page is the weak link.

Loox → Mixpanel · what breaks

Why this join usually fails — Loox → Mixpanel

  1. 01

    The distinct_id never reaches Loox

    Referral links route through Loox and land on your store with their own parameters, frequently overwriting or colliding with whatever was already stored.

  2. 02

    Word of mouth billed to the ad account

    The more successful your referral program is, the worse your paid reporting gets, which is a genuinely perverse outcome and an entirely avoidable one.

  3. 03

    One event schema, two teams, no agreement

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  4. 04

    Nothing reconciles afterwards

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Loox → Mixpanel · the fix

What working looks like — Loox → Mixpanel

  • The distinct_id on every order

  • Conversions arriving in Mixpanel

    The event lands on the user profile and becomes available in funnels, retention and cohort analysis.

  • Reconciled against the source

Loox → Mixpanel · architecture

How Loox and Mixpanel actually connect

  1. 1

    Loox holds the truth

    Referral orders arrive from a friend's shared link. If your last-touch model has an old paid identifier persisted, that campaign takes the credit for a sale word of mouth produced.

  2. 2

    Mixpanel needs a click to match

    Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Loox referral order.

  4. 4

    The event source decides reliability

    Purchases, with referral-sourced orders marked and held out of paid conversion imports.

  5. 5

    Deduplication at the destination

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

Loox → Mixpanel · normal or broken

Working vs. broken, side by side — Loox → Mixpanel

Normal, not a fault

  • The distinct_id present on the order

  • Sent from the Shopify order record

  • Deduplicated correctly

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

  • Reconciles with the source

Actually broken

  • The distinct_id missing on most records

    Referral links route through Loox and land on your store with their own parameters, frequently overwriting or colliding with whatever was already stored.

  • Sent from the browser

    The more successful your referral program is, the worse your paid reporting gets, which is a genuinely perverse outcome and an entirely avoidable one.

  • Counted twice, or not at all

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  • Nobody has reconciled it

Loox → Mixpanel · diagnose

Diagnostic order — Loox → Mixpanel

  1. 01

    Count orders carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check precedence between referral and paid parameters

    Whichever wins in your storage logic determines who gets credit, and almost nobody has consciously chosen this.

  4. 04

    List every event name in the project and look for near-duplicates

    Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.

  5. 05

    Read the match rate, not the success message

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Loox → Mixpanel · prove

How it gets proven — Loox → Mixpanel

Source of truth

Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.

  • The distinct_id confirmed present on a live order.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Non-referral orders reconciled against imported conversions; referral volume reported separately.

Loox → Mixpanel · free audit

What we check in the free audit

  • Count orders carrying the distinct_id
  • Follow one real conversion end to end
  • Check precedence between referral and paid parameters
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Loox → Mixpanel · when not to buy

When you don't need this — Loox → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_id.
  • No referral program means no conflict. Keep review events out of the conversion list and there is nothing else to do.
  • If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.

Loox → Mixpanel · what we deliver

What gets built — Loox → Mixpanel

  • Identifier capture into Loox

    Detect the referral parameter explicitly and let it take precedence, rather than allowing a stale paid identifier to win by default.

  • Event source: the Shopify order record

    Purchases, with referral-sourced orders marked and held out of paid conversion imports.

  • Dispatch to Mixpanel

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.

  • Reversals where they exist

    Refunds reduce the figure.

Written guarantee

95%+ tracking accuracy

Measured against Shopify orders, flagged by whether a Loox referral link or review-reward coupon produced them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Loox → Mixpanel questions, answered

Save the distinct_id into a Shopify cart attribute when the friend lands, then send the order server-side with that ID so the visit and purchase share one profile.

Free · 30 min

Get Loox and Mixpanel joined properly

Free30 minutesNo obligation