Skip to main content
SpotOn → MixpanelIntegration guide

Connecting SpotOn to Mixpanel

SpotOn bundles the till with marketing and loyalty, which means the platform is running campaigns of its own against the same customers your advertising is paying for. 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 SpotOn transaction 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

SpotOn ordering funnels in Mixpanel with loyalty IDs

If SpotOn hosts your ordering pages, your Mixpanel snippet probably does not run there, so send completed orders server-side as Order Completed, with amount, location, channel and reward code. Identify guests by loyalty member or your customer ID, never a raw phone, send refunds as their own event, and treat the Order Online click as the last on-site step.

Mixpanel helps a SpotOn merchant whose online ordering is a real channel and who wants to see where guests drop: menu, cart, checkout, payment. Check whether the ordering pages are hosted by SpotOn rather than on your own domain; if they are, your Mixpanel snippet probably does not run on them, and completed orders have to be sent server-side from SpotOn data instead of tracked in the browser.

Identity should be the loyalty member ID or your own customer ID, set with identify once the guest signs in or enters a phone number at checkout, and never the raw phone number used as distinct_id. Send completed orders as Order Completed with amount, location, channel and the SpotOn reward code, and send refunds as their own event so revenue can be netted in reports.

The common break: the restaurant's main site, where Mixpanel runs, and SpotOn's ordering pages are different domains, so the distinct_id from the main site never reaches the order. Unless the ordering link accepts a passed-through value, the browser funnel ends at the click on the Order Online button. Treat that click as the last on-site step and join completed orders by customer ID.

SpotOn → Mixpanel · what breaks

Why this join usually fails — SpotOn → Mixpanel

  1. 01

    The distinct_id never reaches SpotOn

    Loyalty prompts arrive by SMS and email and are redeemed at the till, with no digital session anywhere in between.

  2. 02

    Two marketing systems claiming the same visit

    SpotOn's loyalty messages and your ad campaigns target overlapping people. Without the reward code on the transaction, both will count the same visit and neither report will mention the other.

  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.

SpotOn → Mixpanel · the fix

What working looks like — SpotOn → Mixpanel

  • The distinct_id on every transaction

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

SpotOn → Mixpanel · architecture

How SpotOn and Mixpanel actually connect

  1. 1

    SpotOn holds the truth

    A visit driven by SpotOn's own loyalty push is retention working. Crediting it to paid acquisition inflates the campaign and hides which of the two systems is actually producing the visit.

  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 SpotOn transaction.

  4. 4

    The event source decides reliability

    Send online-channel transactions, with loyalty-driven visits marked and held out of the paid figure.

  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.

SpotOn → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the transaction

  • Sent from the SpotOn transaction 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

    Loyalty prompts arrive by SMS and email and are redeemed at the till, with no digital session anywhere in between.

  • Sent from the browser

    SpotOn's loyalty messages and your ad campaigns target overlapping people. Without the reward code on the transaction, both will count the same visit and neither report will mention the other.

  • 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

SpotOn → Mixpanel · diagnose

Diagnostic order — SpotOn → Mixpanel

  1. 01

    Count transactions carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Count transactions carrying a loyalty code inside the paid figure

    The overlap is the overstatement, and it grows as the loyalty programme matures.

  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.

SpotOn → Mixpanel · prove

How it gets proven — SpotOn → Mixpanel

Source of truth

SpotOn transactions by date, flagged by whether a loyalty reward or platform campaign was involved.

  • The distinct_id confirmed present on a live transaction.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Non-loyalty online transactions reconciled against imported conversions, with the overlap stated.

SpotOn → Mixpanel · free audit

What we check in the free audit

  • Count transactions carrying the distinct_id
  • Follow one real conversion end to end
  • Count transactions carrying a loyalty code inside the paid figure
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

SpotOn transactions by date, flagged by whether a loyalty reward or platform campaign was involved.

Get my free conversion tracking audit

Free30 minutesNo obligation

SpotOn → Mixpanel · when not to buy

When you don't need this — SpotOn → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred transactions and count how many carry the distinct_id.
  • If you run no loyalty programme, this collapses to an ordinary POS channel-filter problem.
  • 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.

SpotOn → Mixpanel · what we deliver

What gets built — SpotOn → Mixpanel

  • Identifier capture into SpotOn

    Record the reward or campaign code on the transaction so acquisition and retention revenue stay separable.

  • Event source: the SpotOn transaction record

    Send online-channel transactions, with loyalty-driven visits marked and held out of the paid figure.

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

Written guarantee

95%+ tracking accuracy

Measured against SpotOn transactions by date, flagged by whether a loyalty reward or platform campaign was involved.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

SpotOn → Mixpanel questions, answered

If the ordering pages run on SpotOn's domain, your Mixpanel code likely cannot run there, so plan to send completed orders server-side. Identify guests by loyalty or customer ID so orders join their profile.

Free · 30 min

Get SpotOn and Mixpanel joined properly

Free30 minutesNo obligation