Skip to main content
ShareASale → AmplitudeIntegration guide

Connecting ShareASale to Amplitude

ShareASale is a long-established last-click affiliate network, which means the same voucher-code interception problem as any last-click programme, at the scale of a very large publisher base. 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 ShareASale transaction 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

ShareASale in Amplitude: do voucher customers come back?

Set the ShareASale affiliate ID and publisher type as Amplitude user properties at first affiliate click, plus a separate last-touch property, then send purchases server-side from your order system with value net of commission and the order ID as insert_id. Identify at checkout, because voucher and cashback returns can create a fresh device ID before purchase.

The question Amplitude can answer for a ShareASale program is one the network cannot: do customers who arrived through a voucher or cashback publisher buy again at the same rate as those introduced by a content publisher? Set the ShareASale affiliate ID and publisher type as user properties at the first affiliate click, and keep a separate last-touch property for the click right before purchase. Retention by first-touch publisher type is usually the most useful chart an affiliate manager ever sees.

Send purchases server-side from your order system with price as order value net of commission and quantity per line, so revenue per cohort reflects what you kept. Use the order ID as insert_id. Mark affiliate-attributed orders with an attributed property rather than a separate event name, so funnels do not split in two.

The trap specific to this pair is identity. Voucher-site clicks often return the buyer in a new tab or from a cashback browser extension, which can produce a new device ID right before checkout. If the purchase lands on that fresh device and is merged only at login, the paid ad click that started the visit sits on a different device record. Identify at checkout, and check merged users before trusting first-touch splits.

ShareASale → Amplitude · what breaks

Why this join usually fails — ShareASale → Amplitude

  1. 01

    The user ID and device ID pair never reaches ShareASale

    The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it.

  2. 02

    Voucher publishers earning on sales your ads produced

    A customer arrives from a paid ad, opens a tab to find a code, clicks a voucher site's link and returns to buy. Under last-click the voucher site earns the commission on a sale your advertising created — and your paid reporting counts it too.

  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.

ShareASale → Amplitude · the fix

What working looks like — ShareASale → 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

ShareASale → Amplitude · architecture

How ShareASale and Amplitude actually connect

  1. 1

    ShareASale holds the truth

    Publisher type is the whole analysis. Content publishers introduce customers; voucher and cashback publishers intercept them at the basket. Both are paid the same way and they are not the same thing.

  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 ShareASale transaction.

  4. 4

    The event source decides reliability

    Send orders net of commission, with affiliate-sourced orders marked and publisher type 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.

ShareASale → Amplitude · normal or broken

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

Normal, not a fault

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

  • 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

    The affiliate cookie is set on click and read at checkout, and a voucher-site click seconds before the order will overwrite whatever preceded it.

  • Sent from the browser

    A customer arrives from a paid ad, opens a tab to find a code, clicks a voucher site's link and returns to buy. Under last-click the voucher site earns the commission on a sale your advertising created — and your paid reporting counts it too.

  • 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

ShareASale → Amplitude · diagnose

Diagnostic order — ShareASale → Amplitude

  1. 01

    Count conversions carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Segment commissions by publisher type and time-from-click to order

    Clicks seconds before an order are interception. That segmentation is available and rarely run.

  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.

ShareASale → Amplitude · prove

How it gets proven — ShareASale → Amplitude

Source of truth

Orders flagged by affiliate, with commission recorded and the publisher type identified.

  • 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.
  • Orders reconciled net of commission against imported conversions, with the paid-media overlap measured.

ShareASale → 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
  • Segment commissions by publisher type and time-from-click to order
  • 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 commission recorded and the publisher type identified.

Get my free conversion tracking audit

Free30 minutesNo obligation

ShareASale → Amplitude · when not to buy

When you don't need this — ShareASale → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the user ID and device ID pair.
  • No affiliate programme means none of this applies. If you run one, the commission structure by publisher type will change your economics more than tracking accuracy will.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

ShareASale → Amplitude · what we deliver

What gets built — ShareASale → Amplitude

  • Identifier capture into ShareASale

    Record the click timestamp alongside the affiliate identifier so late-journey interception is visible.

  • Event source: your order record with affiliate attribution

    Send orders net of commission, with affiliate-sourced orders marked and publisher type 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 should reverse the commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by affiliate, with commission recorded and the publisher type identified.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ShareASale → Amplitude questions, answered

Store the affiliate ID and publisher type as first-touch user properties, then chart repeat purchase retention split by publisher type.

Free · 30 min

Get ShareASale and Amplitude joined properly

Free30 minutesNo obligation