Skip to main content
LeadDyno → AmplitudeIntegration guide

Connecting LeadDyno to Amplitude

LeadDyno targets smaller businesses running their first affiliate programme, where the most common outcome is paying commission on customers who would have bought anyway. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the LeadDyno referral before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

LeadDyno referrals in Amplitude: cohorts by affiliate

Amplitude shows whether LeadDyno-referred customers retain like other channels. Set the affiliate code as a user property through the browser SDK at landing, then send orders server-side as revenue events with your user_id, affiliate and new-versus-existing properties, and an order-based insert_id. Send refunds as negative revenue, and keep commission amounts out.

Amplitude answers the question LeadDyno's dashboard does not: do affiliate-referred customers retain, upgrade and repurchase like customers from paid or organic channels? That needs the affiliate attribution as a user property, set once, on the same Amplitude user who later signs up and buys. Read the affiliate code from the landing URL when the LeadDyno tracker sees it and set it as a user property through the browser SDK, so it sits on the device ID before identify.

Then send orders server-side as revenue events with price and quantity, using the user_id your app uses, plus event properties for the affiliate and whether the customer already existed. That new-versus-existing flag is the point: an affiliate-referred cohort that includes existing customers who referred themselves will show excellent retention, because those people were loyal before the programme started.

Use an insert_id from the order ID so retried sends do not double revenue. Refunds should arrive as negative revenue events tied to the same order ID, or Amplitude's revenue for affiliate cohorts stays above what you kept once commission was reclaimed. Keep commission amounts out of Amplitude; they belong in LeadDyno and your books.

LeadDyno → Amplitude · what breaks

Why this join usually fails — LeadDyno → Amplitude

  1. 01

    The user ID and device ID pair never reaches LeadDyno

    Affiliate links land on your store carrying parameters that may overwrite a paid identifier already stored.

  2. 02

    Paying commission on existing customers

    First affiliate programmes almost always leak this way. Without a new-customer condition on the commission rule, you are paying a percentage on repeat purchases you would have received for nothing.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

LeadDyno → Amplitude · the fix

What working looks like — LeadDyno → Amplitude

  • The user ID and device ID pair on every referral

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

LeadDyno → Amplitude · architecture

How LeadDyno and Amplitude actually connect

  1. 1

    LeadDyno holds the truth

    New programmes frequently recruit existing customers as affiliates, who then refer themselves or their own repeat purchases. That is commission on revenue you already had.

  2. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the LeadDyno referral.

  4. 4

    The event source decides reliability

    Send orders net of commission, with new-versus-existing customer status recorded.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

LeadDyno → Amplitude · normal or broken

Working vs. broken, side by side — LeadDyno → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the referral

  • Sent from your order record with affiliate attribution

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair missing on most records

    Affiliate links land on your store carrying parameters that may overwrite a paid identifier already stored.

  • Sent from the browser

    First affiliate programmes almost always leak this way. Without a new-customer condition on the commission rule, you are paying a percentage on repeat purchases you would have received for nothing.

  • Counted twice, or not at all

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

LeadDyno → Amplitude · diagnose

Diagnostic order — LeadDyno → Amplitude

  1. 01

    Count referrals carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Count affiliate-attributed orders from customers who already existed

    If the share is high, the fix is the commission rule rather than the tracking.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

LeadDyno → Amplitude · prove

How it gets proven — LeadDyno → Amplitude

Source of truth

Orders flagged by affiliate, with the customer's prior relationship recorded.

  • The user ID and device ID pair confirmed present on a live referral.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Affiliate orders reconciled net of commission, split by new versus existing customer.

LeadDyno → Amplitude · free audit

What we check in the free audit

  • Count referrals carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Count affiliate-attributed orders from customers who already existed
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Orders flagged by affiliate, with the customer's prior relationship recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

LeadDyno → Amplitude · when not to buy

When you don't need this — LeadDyno → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the user ID and device ID pair.
  • Programmes already restricted to new customers do not have this leak.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

LeadDyno → Amplitude · what we deliver

What gets built — LeadDyno → Amplitude

  • Identifier capture into LeadDyno

    Set precedence explicitly and record whether the referred customer was already known to you.

  • Event source: your order record with affiliate attribution

    Send orders net of commission, with new-versus-existing customer status recorded.

  • Dispatch to Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • Reversals where they exist

    Refunds reverse and reclaim commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by affiliate, with the customer's prior relationship recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LeadDyno → Amplitude questions, answered

Set the affiliate code as a user property when the visitor lands, then send orders as revenue events with the same user_id and a new-versus-existing flag. Build cohorts on the property and filter out existing customers.

Free · 30 min

Get LeadDyno and Amplitude joined properly

Free30 minutesNo obligation