Skip to main content
Punchh → MixpanelIntegration guide

Connecting Punchh to Mixpanel

Punchh runs loyalty for restaurant and retail chains where members earn in one location and redeem in another, which spreads the programme's cost across sites your advertising cannot see. 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 Punchh loyalty 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

Punchh to Mixpanel: app taps and till visits on one profile

Set the Punchh member ID as Mixpanel's distinct_id when the loyalty app user signs in, so in-store visits from Punchh land on the same profile as app activity. Send visits with original timestamps, the POS transaction ID as $insert_id and store location, checking Mixpanel's limits for old events. Send only in-store visits from Punchh so mobile orders aren't counted twice.

Mixpanel earns its place with Punchh when the loyalty app is instrumented with it and the product team wants to know which app features lead to more visits. The join is the member ID as distinct_id, set when the app user signs in, so in-store visits from Punchh attach to the same profile that tapped order-ahead in the app. Anonymous browsing before signup must be identified at login, or the signup funnel splits in two.

In-store visits arrive later than app events: POS batches and loyalty processing can run overnight. Send each visit with its original timestamp, and check Mixpanel's limits on how old an event the endpoint you use will accept, because a backlog of delayed POS data can fall outside them. Use the POS transaction ID as $insert_id and keep store location as a property.

This pair breaks on event names. The app team logs order_completed for mobile orders; the loyalty feed sends Purchase for every visit, including those same mobile orders, which Punchh also records. Every mobile order now counts twice under two names. Decide which feed owns mobile orders, send only in-store visits from Punchh, and list the project's event names to catch near-duplicates before a quarter of data is built on them.

Punchh → Mixpanel · what breaks

Why this join usually fails — Punchh → Mixpanel

  1. 01

    The distinct_id never reaches Punchh

    Redemption happens at a till or in an app with no browser session at any point.

  2. 02

    Loyalty cost spread across locations nobody totals

    Points earned at one restaurant and redeemed at another appear in two different location reports and in neither marketing report. The programme looks free until someone consolidates it.

  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.

Punchh → Mixpanel · the fix

What working looks like — Punchh → Mixpanel

  • The distinct_id on every redemption

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Punchh → Mixpanel · architecture

How Punchh and Mixpanel actually connect

  1. 1

    Punchh holds the truth

    In multi-location chains, earning and redemption happen at different sites on different days. Only the combined view shows what the programme actually costs.

  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 Punchh loyalty transaction.

  4. 4

    The event source decides reliability

    Send member acquisition and online orders net of redemption, with in-store redemption reported separately.

  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.

Punchh → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the redemption

  • Sent from your POS transaction record with loyalty attributes

  • 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

    Redemption happens at a till or in an app with no browser session at any point.

  • Sent from the browser

    Points earned at one restaurant and redeemed at another appear in two different location reports and in neither marketing report. The programme looks free until someone consolidates it.

  • 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

Punchh → Mixpanel · diagnose

Diagnostic order — Punchh → Mixpanel

  1. 01

    Count redemptions carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Consolidate earn and burn across all locations

    It is the only view that shows the programme's true cost, and chains routinely do not have it.

  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.

Punchh → Mixpanel · prove

How it gets proven — Punchh → Mixpanel

Source of truth

Transactions across all locations, with loyalty earn and burn recorded per visit.

  • The distinct_id confirmed present on a live redemption.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Member acquisition reconciled against imported conversions, with consolidated redemption cost reported.

Punchh → Mixpanel · free audit

What we check in the free audit

  • Count redemptions carrying the distinct_id
  • Follow one real conversion end to end
  • Consolidate earn and burn across all locations
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Transactions across all locations, with loyalty earn and burn recorded per visit.

Get my free conversion tracking audit

Free30 minutesNo obligation

Punchh → Mixpanel · when not to buy

When you don't need this — Punchh → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred redemptions and count how many carry the distinct_id.
  • Single-location operators see both halves and do not have the consolidation 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.

Punchh → Mixpanel · what we deliver

What gets built — Punchh → Mixpanel

  • Identifier capture into Punchh

    Attribute online and app-signup acquisition only, and report cross-location redemption as programme cost.

  • Event source: your POS transaction record with loyalty attributes

    Send member acquisition and online orders net of redemption, with in-store redemption reported separately.

  • 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 and reclaim points.

Written guarantee

95%+ tracking accuracy

Measured against Transactions across all locations, with loyalty earn and burn recorded per visit.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Punchh → Mixpanel questions, answered

Your member ID, the same one the loyalty app identifies with at login. Emails change and phone numbers get shared within households; the member ID does not.

Free · 30 min

Get Punchh and Mixpanel joined properly

Free30 minutesNo obligation