Skip to main content
Lightspeed → MixpanelIntegration guide

Connecting Lightspeed to Mixpanel

Lightspeed runs the till in retail and hospitality, which means it holds the majority of the revenue and almost none of the digital signal. 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 Lightspeed sale 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

Lightspeed and Mixpanel: avoid the one-profile-per-store trap

Send per-user Mixpanel events only for Lightspeed sales whose customer ID matches your app or online identity; never use an outlet ID as distinct_id. Use one purchase event name with a sales_channel property, set $insert_id from the Lightspeed sale ID because tabs are re-closed, and send refunds and voids as their own events referencing that sale.

Mixpanel requires a distinct_id on every event, and most Lightspeed sales do not come with a customer attached. The shortcut teams take is sending counter sales with the outlet ID or a fixed value like "in_store" as the distinct_id. Mixpanel accepts it, and you end up with one profile per store holding tens of thousands of purchases, which breaks every per-user metric and makes any funnel through Purchase meaningless.

Send per-user events only for sales with a Lightspeed customer whose ID matches the identity your app or online store uses in Mixpanel, usually via loyalty sign-in or email. For everything else, store-level totals belong in a warehouse or in a Mixpanel lookup table keyed on outlet, not on fake profiles. Check whether your plan includes lookup tables.

Event naming is the other trap with this pair. The online store sends a Purchase event from the browser SDK while a POS sync sends sale_completed, and Mixpanel treats them as unrelated. Use one event name with a sales_channel property instead. Set $insert_id from the Lightspeed sale ID, because hospitality tabs are often edited and re-closed and a sync that re-reads updated sales will otherwise create a second event for the same check. Send refunds and voids as their own event referencing that sale ID.

Lightspeed → Mixpanel · what breaks

Why this join usually fails — Lightspeed → Mixpanel

  1. 01

    The distinct_id never reaches Lightspeed

    A point-of-sale terminal has no browser. Online orders, where the business has them, are the only channel with any identifier at all.

  2. 02

    In-store revenue absorbed into online reporting

    If the channel filter is missing, every card taken at the counter becomes an advertising conversion, and the reported return climbs with foot traffic rather than with campaign quality.

  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.

Lightspeed → Mixpanel · the fix

What working looks like — Lightspeed → Mixpanel

  • The distinct_id on every sale

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Lightspeed → Mixpanel · architecture

How Lightspeed and Mixpanel actually connect

  1. 1

    Lightspeed holds the truth

    The in-store majority is real revenue that no click produced and no click can claim. Naming that share is more useful than any model that quietly absorbs it.

  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 Lightspeed sale.

  4. 4

    The event source decides reliability

    Send online-channel sales at their value. Report in-store revenue alongside as context, never inside the same conversion action.

  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.

Lightspeed → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the sale

  • Sent from the Lightspeed sales 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

    A point-of-sale terminal has no browser. Online orders, where the business has them, are the only channel with any identifier at all.

  • Sent from the browser

    If the channel filter is missing, every card taken at the counter becomes an advertising conversion, and the reported return climbs with foot traffic rather than with campaign quality.

  • 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

Lightspeed → Mixpanel · diagnose

Diagnostic order — Lightspeed → Mixpanel

  1. 01

    Count sales carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Filter by sales channel and re-check the total

    Compare the filtered figure against the online order count. A mismatch means the filter is wrong before the tracking is.

  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.

Lightspeed → Mixpanel · prove

How it gets proven — Lightspeed → Mixpanel

Source of truth

Lightspeed sales by business date, filtered to the online channel where one exists.

  • The distinct_id confirmed present on a live sale.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Online-channel sales reconciled against imported conversions for a settled week.

Lightspeed → Mixpanel · free audit

What we check in the free audit

  • Count sales carrying the distinct_id
  • Follow one real conversion end to end
  • Filter by sales channel and re-check the total
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Lightspeed sales by business date, filtered to the online channel where one exists.

Get my free conversion tracking audit

Free30 minutesNo obligation

Lightspeed → Mixpanel · when not to buy

When you don't need this — Lightspeed → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred sales and count how many carry the distinct_id.
  • A purely bricks-and-mortar business has no online conversion to import. Measure directions, calls and offer-code redemptions instead.
  • 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.

Lightspeed → Mixpanel · what we deliver

What gets built — Lightspeed → Mixpanel

  • Identifier capture into Lightspeed

    Attribute the online channel only, and measure in-store influence with a geo holdout or an offer code rather than pretending it is trackable.

  • Event source: the Lightspeed sales record

    Send online-channel sales at their value. Report in-store revenue alongside as context, never inside the same conversion action.

  • 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 and voids reverse.

Written guarantee

95%+ tracking accuracy

Measured against Lightspeed sales by business date, filtered to the online channel where one exists.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Lightspeed → Mixpanel questions, answered

Don't send them as per-user events. Put store-level totals in a lookup table or warehouse, and send per-user purchases only for sales with a known customer.

Free · 30 min

Get Lightspeed and Mixpanel joined properly

Free30 minutesNo obligation