Skip to main content
Applied Epic → MixpanelIntegration guide

Connecting Applied Epic to Mixpanel

Applied Epic runs insurance agencies, where the agency earns a commission on premium and the policy renews annually — so a new client is worth a stream, not a sale. 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 Applied Epic policy 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

Applied Epic in Mixpanel: bind on the client, not the CSR

In Applied Epic, staff bind the policy, so don't send the event from a CSR session or it lands on their distinct_id. Store the prospect's distinct_id from the quote form on the Epic client record and send the bound policy from the server with it. Set $insert_id from policy ID and term, and value it at first-year commission.

In Applied Epic the policy is bound by a staff member, not by the prospect, and that is what breaks most Mixpanel setups for agencies. If the bound-policy event is fired from anything tied to the staff session, such as a portal the CSR is logged into, it lands on the CSR's distinct_id. Within a month one producer looks like your best customer and the quote funnel shows no conversions.

The fix is to store the prospect's distinct_id (or the user ID you identified them with on the quote form) on the Epic client record at enquiry, and send the bound policy from the server using that value. Set $insert_id from the policy ID and term so a re-run export does not duplicate it, and send first-year agency commission as the value property with premium kept separately for reference.

Households complicate the identity model: one quote form can lead to auto, home and umbrella policies bound on different days. Keep one distinct_id per client and send each policy as its own event with line of business as a property, rather than creating a profile per policy. Phone-only enquiries have no distinct_id at all; give them a server-generated one and mark the channel instead of merging them into web users by guesswork.

Applied Epic → Mixpanel · what breaks

Why this join usually fails — Applied Epic → Mixpanel

  1. 01

    The distinct_id never reaches Applied Epic

    Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.

  2. 02

    Premium reported instead of commission

    A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.

  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.

Applied Epic → Mixpanel · the fix

What working looks like — Applied Epic → Mixpanel

  • The distinct_id on every policy

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Applied Epic → Mixpanel · architecture

How Applied Epic and Mixpanel actually connect

  1. 1

    Applied Epic holds the truth

    The agency does not earn the premium. It earns a percentage of it, annually, for as long as the policy renews — which makes both the value and its timing quite unlike a one-off sale.

  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 Applied Epic policy.

  4. 4

    The event source decides reliability

    Send bound policies at first-year agency commission, with renewals reported as retention.

  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.

Applied Epic → Mixpanel · normal or broken

Working vs. broken, side by side — Applied Epic → Mixpanel

Normal, not a fault

  • The distinct_id present on the policy

  • Sent from the Applied Epic policy 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

    Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.

  • Sent from the browser

    A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.

  • 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

Applied Epic → Mixpanel · diagnose

Diagnostic order — Applied Epic → Mixpanel

  1. 01

    Count policys carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm the imported value is agency commission

    The distinction is well understood inside the agency and routinely lost in the pipeline to the ad platform.

  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.

Applied Epic → Mixpanel · prove

How it gets proven — Applied Epic → Mixpanel

Source of truth

Policies bound, valued at agency commission on premium rather than at the premium itself.

  • The distinct_id confirmed present on a live policy.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Bound policies reconciled at agency commission against imported conversions.

Applied Epic → Mixpanel · free audit

What we check in the free audit

  • Count policys carrying the distinct_id
  • Follow one real conversion end to end
  • Confirm the imported value is agency commission
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Policies bound, valued at agency commission on premium rather than at the premium itself.

Get my free conversion tracking audit

Free30 minutesNo obligation

Applied Epic → Mixpanel · when not to buy

When you don't need this — Applied Epic → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred policys and count how many carry the distinct_id.
  • If you cannot get commission into the pipeline, send a bound-policy count. A count is honest; premium is not.
  • 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.

Applied Epic → Mixpanel · what we deliver

What gets built — Applied Epic → Mixpanel

  • Identifier capture into Applied Epic

    Store the identifier on the client record at enquiry so a policy bound later resolves to it.

  • Event source: the Applied Epic policy record

    Send bound policies at first-year agency commission, with renewals reported as retention.

  • Dispatch to Mixpanel

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

  • Reversals where they exist

    Cancelled policies reverse pro rata.

Written guarantee

95%+ tracking accuracy

Measured against Policies bound, valued at agency commission on premium rather than at the premium itself.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Applied Epic → Mixpanel questions, answered

The event is being sent with the distinct_id of whoever was logged in when it fired. Send it from the server using the prospect's ID stored on the Epic client record instead.

Free · 30 min

Get Applied Epic and Mixpanel joined properly

Free30 minutesNo obligation