Skip to main content
Talkable → MixpanelIntegration guide

Connecting Talkable to Mixpanel

Talkable is built to test referral offers, which means the reward structure is deliberately varying — and reward depth changes both the referral rate and the margin on every referred order. 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 Talkable referral 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

Talkable to Mixpanel: the referral loop as a two-person funnel

Model the Talkable referral as a two-person funnel in Mixpanel: share and reward events on the advocate's distinct_id, click and order on the friend's, with the advocate's ID stored on the friend's events. Send the friend's order server-side with the distinct_id identified at checkout, a $insert_id built from the order ID, and the offer variant on every event.

A referral is a funnel that crosses two people: advocate sees the offer, advocate shares, friend clicks, friend orders, advocate is rewarded. Mixpanel can show it if each step is an event on the right distinct_id, the advocate's for share and reward, the friend's for click and order, with the advocate's ID stored as a property on the friend's events so the two halves join.

Send the friend's order server-side from your order feed with the friend's distinct_id, which means the anonymous ID set when they landed through the referral link has to be the one identified at checkout. If the friend lands on a page where the Talkable script runs before your Mixpanel setup, check that your landing tracking still fires and captures the referral parameter; a missed landing event breaks the funnel at the click step. Use $insert_id built from order ID.

Carry the offer variant on every referral event as a property, not only on the profile, so a funnel can be split by the offer shown at each step. Watch for naming collisions with Talkable's own analytics exports: if someone later imports Talkable data under different event names, Mixpanel will treat them as unrelated events and the share counts will disagree with the ones already there.

Talkable → Mixpanel · what breaks

Why this join usually fails — Talkable → Mixpanel

  1. 01

    The distinct_id never reaches Talkable

    Referral links carry parameters that can collide with paid ones, and the offer variant is decided by Talkable rather than by your site.

  2. 02

    Two experiments on one audience

    A referral offer test and a campaign test running simultaneously will interfere, and without the variant recorded nobody can say which change moved the number.

  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.

Talkable → Mixpanel · the fix

What working looks like — Talkable → Mixpanel

  • The distinct_id on every referral

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Talkable → Mixpanel · architecture

How Talkable and Mixpanel actually connect

  1. 1

    Talkable holds the truth

    If the referral programme is running an offer test while media is running a campaign test, two experiments share the same traffic and neither result is clean without the variant on the order.

  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 Talkable referral.

  4. 4

    The event source decides reliability

    Send orders net of reward, with the referral offer variant recorded.

  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.

Talkable → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the referral

  • Sent from your order feed with referral and variant attached

  • 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 carry parameters that can collide with paid ones, and the offer variant is decided by Talkable rather than by your site.

  • Sent from the browser

    A referral offer test and a campaign test running simultaneously will interfere, and without the variant recorded nobody can say which change moved the number.

  • 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

Talkable → Mixpanel · diagnose

Diagnostic order — Talkable → Mixpanel

  1. 01

    Count referrals carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether a referral offer test is running during a campaign test

    First question when an unexplained shift appears, not last.

  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.

Talkable → Mixpanel · prove

How it gets proven — Talkable → Mixpanel

Source of truth

Orders flagged by referral, with the offer variant and reward cost recorded.

  • The distinct_id confirmed present on a live referral.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Orders reconciled by referral variant against imported conversions across the full test window.

Talkable → Mixpanel · free audit

What we check in the free audit

  • Count referrals carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether a referral offer test is running during a campaign test
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Orders flagged by referral, with the offer variant and reward cost recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Talkable → Mixpanel · when not to buy

When you don't need this — Talkable → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the distinct_id.
  • If your referral offer is fixed, there is no interference and the variant field is unnecessary.
  • 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.

Talkable → Mixpanel · what we deliver

What gets built — Talkable → Mixpanel

  • Identifier capture into Talkable

    Record the offer variant and both identifiers on the order, with precedence written down.

  • Event source: your order feed with referral and variant attached

    Send orders net of reward, with the referral offer variant recorded.

  • 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 Orders flagged by referral, with the offer variant and reward cost recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Talkable → Mixpanel questions, answered

Send share and reward events on the advocate's distinct_id and click and order events on the friend's, with the advocate's ID as a property on the friend's events.

Free · 30 min

Get Talkable and Mixpanel joined properly

Free30 minutesNo obligation