Skip to main content
Tapfiliate → AmplitudeIntegration guide

Connecting Tapfiliate to Amplitude

Tapfiliate handles affiliate programmes for SaaS and subscription businesses, where the commission recurs and therefore so does the cost of getting the attribution wrong. 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 Tapfiliate conversion 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

Tapfiliate in Amplitude: affiliate cohorts and retention

Set a user property holding the Tapfiliate affiliate ID at signup, under the same user_id as your browser SDK, sourced from your database or Tapfiliate's API rather than only the browser cookie. Send billing revenue events at gross with commission as a separate property, an insert_id from the invoice, and cancellations, then compare affiliate cohort retention with paid media.

Amplitude answers the question affiliate managers rarely get answered: do affiliate-referred customers stay? Set a user property holding the Tapfiliate affiliate ID at signup, under the same user_id the product's browser SDK uses, and compare retention and revenue curves between affiliate cohorts and paid-media cohorts.

The affiliate ID has to come from a durable place. Tapfiliate keeps its referral in its own browser cookie; read it at signup, or fetch it from Tapfiliate's customer record through its API, write it to the account in your database, and set it in Amplitude from there. If you set it only from the browser, users whose blockers stopped the Tapfiliate script show no affiliate, and the cohort comparison is skewed in a direction you cannot predict.

Revenue events should carry price and quantity from billing at gross, with the commission as a separate property, so net revenue per affiliate can be charted without losing the gross. Send cancellations as an event that ends the revenue stream, and use an insert_id from the invoice or billing event ID. Then check that Tapfiliate stopped paying commission on the same accounts Amplitude shows as churned.

Tapfiliate → Amplitude · what breaks

Why this join usually fails — Tapfiliate → Amplitude

  1. 01

    The user ID and device ID pair never reaches Tapfiliate

    Affiliate cookies and paid identifiers coexist in the same browser through a trial period that can run weeks.

  2. 02

    Commission continuing on cancelled subscriptions

    Most implementations wire the signup and forget the cancellation, so affiliates keep earning on customers who left months ago. This is money leaving the business quietly and indefinitely.

  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.

Tapfiliate → Amplitude · the fix

What working looks like — Tapfiliate → Amplitude

  • The user ID and device ID pair on every conversion

  • 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

Tapfiliate → Amplitude · architecture

How Tapfiliate and Amplitude actually connect

  1. 1

    Tapfiliate holds the truth

    Recurring commission means an attribution error does not cost you once. It costs you every month until somebody notices, and nobody notices because the amounts are individually small.

  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 Tapfiliate conversion.

  4. 4

    The event source decides reliability

    Send new subscriptions net of commission, with affiliate-sourced ones marked.

  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.

Tapfiliate → Amplitude · normal or broken

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

Normal, not a fault

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

  • Sent from the subscription 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 cookies and paid identifiers coexist in the same browser through a trial period that can run weeks.

  • Sent from the browser

    Most implementations wire the signup and forget the cancellation, so affiliates keep earning on customers who left months ago. This is money leaving the business quietly and indefinitely.

  • 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

Tapfiliate → Amplitude · diagnose

Diagnostic order — Tapfiliate → Amplitude

  1. 01

    Count conversions carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether cancellations reach the affiliate platform

    Usually they do not, because only the signup path was interesting to build.

  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.

Tapfiliate → Amplitude · prove

How it gets proven — Tapfiliate → Amplitude

Source of truth

Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.

  • The user ID and device ID pair confirmed present on a live conversion.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Commissionable recurring revenue reconciled against active subscriptions, with cancellations proven to reverse.

Tapfiliate → Amplitude · free audit

What we check in the free audit

  • Count conversions carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Check whether cancellations reach the affiliate platform
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tapfiliate → Amplitude · when not to buy

When you don't need this — Tapfiliate → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the user ID and device ID pair.
  • One-off sales programmes do not have the recurring exposure and need only the signup path.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Tapfiliate → Amplitude · what we deliver

What gets built — Tapfiliate → Amplitude

  • Identifier capture into Tapfiliate

    Record both identifiers with timestamps on the account and apply a written precedence rule at conversion rather than at click.

  • Event source: the subscription record with affiliate attribution

    Send new subscriptions net of commission, with affiliate-sourced ones marked.

  • Dispatch to Amplitude

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

  • Reversals where they exist

    Cancellations must reverse and stop the recurring commission.

Written guarantee

95%+ tracking accuracy

Measured against Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tapfiliate → Amplitude questions, answered

Store the Tapfiliate affiliate ID on the account at signup and set it as a user property under the same user_id your product SDK uses.

Free · 30 min

Get Tapfiliate and Amplitude joined properly

Free30 minutesNo obligation