Skip to main content
CJ → AmplitudeIntegration guide

Connecting CJ Affiliate to Amplitude

CJ operates at enterprise scale with sophisticated commissioning rules, which means the same publisher can be paid differently by product, by customer status or by placement — and getting those inputs wrong pays real money incorrectly. 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 CJ 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

CJ affiliate orders in Amplitude: revenue and publisher as properties

Send the purchase to Amplitude server-side from the order record, carrying CJ publisher ID, click identifier and new-versus-returning flag as properties, on the same user ID the browser SDK uses. Use the order ID as insert_id, set the first acquiring publisher as a set-once user property, and send refunds as negative revenue.

Amplitude is where you answer whether customers acquired through CJ publishers behave differently after the first order: repeat rate, time to second purchase, refund rate by publisher. That only works if the purchase event carries the CJ attribution as properties (publisher ID, the click identifier your CJ integration stores, and the new-versus-returning flag) and lands on the same user ID the browser SDK uses, not on a fresh user created by the backend.

Send the purchase from the order record server-side, with price and quantity in the fields Amplitude's revenue reporting reads and the order ID as insert_id so retries do not double. Also set the first acquiring publisher as a set-once user property, so later orders still trace back to the publisher who brought the customer in, even when CJ correctly treats those later orders as returning-customer sales.

The useful monthly check compares CJ's customer-status input with Amplitude's own history for that user. If CJ was told "new" but Amplitude already holds purchases on that user ID, you have very likely paid a new-customer rate on a returning customer. Sampling that mismatch is cheaper than a full program audit. Send refunds as negative revenue so cohort value tracks what CJ reverses.

CJ → Amplitude · what breaks

Why this join usually fails — CJ → Amplitude

  1. 01

    The user ID and device ID pair never reaches CJ

    The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.

  2. 02

    Commissioning rules fed the wrong inputs

    A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.

  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.

CJ → Amplitude · the fix

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

    CJ Affiliate's own records are the reference, not either dashboard.

CJ → Amplitude · architecture

How CJ and Amplitude actually connect

  1. 1

    CJ Affiliate holds the truth

    Rules commonly commission new customers differently from returning ones. If your order does not carry customer status correctly, publishers are paid the wrong rate systematically and neither side notices for months.

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

  4. 4

    The event source decides reliability

    Send orders net of commission, carrying the fields the commissioning rules depend on.

  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.

CJ → Amplitude · normal or broken

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

Normal, not a fault

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

    Visible on the record itself in CJ Affiliate, not merely captured somewhere on the site.

  • Sent from your order record with CJ 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

    Amplitude's count and CJ Affiliate's records agree within a few percent over a closed window.

Actually broken

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

    The publisher click identifier must survive to checkout, and enterprise stores frequently have several checkout paths.

  • Sent from the browser

    A new-customer rate applied to returning customers because the status flag was never wired is a direct overpayment on every affected order, compounding quietly until somebody audits the programme.

  • 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

    The dashboard shows a number and no one has compared it to CJ Affiliate.

CJ → Amplitude · diagnose

Diagnostic order — CJ → Amplitude

  1. 01

    Count conversions carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

    From the ad click through CJ and into Amplitude.

  3. 03

    Verify that new-versus-returning status reaches CJ correctly

    Sample recent transactions and compare against your own customer records. Mismatches are money.

  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.

CJ → Amplitude · prove

How it gets proven — CJ → Amplitude

Against CJ Affiliate's own records, not against either platform's dashboard.

Source of truth

Orders flagged by publisher, with the commissioning inputs recorded on the order.

  • The user ID and device ID pair confirmed present on a live conversion.
  • A real conversion followed from click through CJ to Amplitude.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • Transactions reconciled per order with commissioning inputs verified against your own customer data.

CJ → 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
  • Verify that new-versus-returning status reaches CJ correctly
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Orders flagged by publisher, with the commissioning inputs recorded on the order.

Get my free conversion tracking audit

Free30 minutesNo obligation

CJ → Amplitude · when not to buy

When you don't need this — CJ → Amplitude

  • If Amplitude already reports conversions that reconcile against CJ Affiliate's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the user ID and device ID pair.
  • Simple flat-rate programmes have no commissioning inputs to get wrong.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

CJ → Amplitude · what we deliver

What gets built — CJ → Amplitude

  • Identifier capture into CJ

    Capture the identifier and the customer status on the order, and verify both across every checkout path you operate.

  • Event source: your order record with CJ attribution

    Send orders net of commission, carrying the fields the commissioning rules depend on.

  • 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 reverse the commission.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by publisher, with the commissioning inputs recorded on the order.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CJ → Amplitude questions, answered

Attach the CJ publisher ID and customer status to the server-side purchase event and as a set-once user property, then build cohorts on it. Check Amplitude's integrations catalog before assuming any connector does this for you.

Free · 30 min

Get CJ and Amplitude joined properly

Free30 minutesNo obligation