Skip to main content
CJ → Customer.ioIntegration guide

Connecting CJ Affiliate to Customer.io

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. Customer.io triggers messages from behaviour, which means an event you send is not recorded — it is acted on, usually within seconds, by sending something to a real person. The join between them succeeds or fails on one thing: whether the person identifier you assign reaches the CJ transaction before the conversion happens, because Customer.io can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

CJ new-customer status: why Customer.io profiles get it wrong

Never decide CJ Affiliate's new-versus-returning flag from whether a Customer.io profile exists; compute it from your order database before sending the conversion to CJ. Then send Customer.io the purchase event with attributes recording the CJ publisher and the status CJ was told, and keep welcome codes single-use so they don't leak to coupon publishers.

A common shortcut on this pair is to decide CJ's new-versus-returning flag from your messaging platform: if the email has no Customer.io profile, call the customer new. It fails in both directions. Customer.io profiles are created at newsletter sign-up, quiz completion and back-in-stock requests, long before anyone buys, so genuine first-time buyers get flagged as returning and publishers are underpaid. And shoppers who previously bought as a guest with a different email look new, so they are overpaid.

CJ commissioning rules are about purchase history, so the status has to come from your order database, ideally matched on normalised email and phone, and computed before the conversion is sent to CJ. Customer.io can still receive the result: send the purchase event with an attribute recording the CJ publisher and the status CJ was told. That lets you check later whether the people CJ paid for as new actually behave like new customers in your flows.

One more interaction is specific to Customer.io. Because campaigns act on arrival, a first-order welcome series keyed on a new-customer attribute will send to whoever you flagged, and a coupon in that series can reach a coupon publisher within days, where it earns commission on your next sales. Keep welcome codes single-use.

CJ → Customer.io · what breaks

Why this join usually fails — CJ → Customer.io

  1. 01

    The person identifier you assign 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

    A test event sending a real email

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  4. 04

    Nothing reconciles afterwards

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

CJ → Customer.io · the fix

What working looks like — CJ → Customer.io

  • The person identifier you assign on every conversion

  • Conversions arriving in Customer.io

    The event lands on the person, evaluates against every campaign trigger and segment condition, and may send immediately.

  • Reconciled against the source

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

CJ → Customer.io · architecture

How CJ and Customer.io 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

    Customer.io needs a click to match

    Customer.io needs the person identifier, the event name and any attributes the campaign conditions reference. An event whose attributes are missing will still trigger a campaign, which may then send a message with an empty placeholder in it.

  3. 3

    The identifier is the bridge

    The person identifier you assign, 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

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

CJ → Customer.io · normal or broken

Working vs. broken, side by side — CJ → Customer.io

Normal, not a fault

  • The person identifier you assign 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

    Customer.io does not deduplicate events. A purchase sent twice can enter a workflow twice and send two emails, and unlike a reporting duplicate the customer sees this one.

  • Reconciles with the source

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

Actually broken

  • The person identifier you assign 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

    Because campaigns evaluate on arrival, there is no safe place to test in production. A malformed purchase event fired during development against a live workspace will send a real order confirmation to a real person, and that cannot be recalled.

  • Nobody has reconciled it

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

CJ → Customer.io · diagnose

Diagnostic order — CJ → Customer.io

  1. 01

    Count conversions carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

    From the ad click through CJ and into Customer.io.

  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

    Confirm which workspace you are writing to before sending anything

    Environment separation is the whole safety mechanism in behaviour-triggered tools, and it is the thing most often skipped.

  5. 05

    Read the match rate, not the success message

    Customer.io shows the event and the resulting campaign activity on the person's timeline. Check what the event triggered, not just that it arrived.

CJ → Customer.io · prove

How it gets proven — CJ → Customer.io

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 person identifier you assign confirmed present on a live conversion.
  • A real conversion followed from click through CJ to Customer.io.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • Transactions reconciled per order with commissioning inputs verified against your own customer data.

CJ → Customer.io · free audit

What we check in the free audit

  • Count conversions carrying the person identifier you assign
  • Follow one real conversion end to end
  • Verify that new-versus-returning status reaches CJ correctly
  • Confirm which workspace you are writing to before sending anything
  • 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 → Customer.io · when not to buy

When you don't need this — CJ → Customer.io

  • If Customer.io 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 person identifier you assign.
  • Simple flat-rate programmes have no commissioning inputs to get wrong.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

CJ → Customer.io · what we deliver

What gets built — CJ → Customer.io

  • 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 Customer.io

    The Customer.io Track API, posted server-side from your order or product system with the person identifier and event attributes.

  • 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 → Customer.io questions, answered

Not directly. Customer.io profiles exist for people who never bought, so take the status from your order history and only send the result to Customer.io.

Free · 30 min

Get CJ and Customer.io joined properly

Free30 minutesNo obligation