Skip to main content
ShareASale → Customer.ioIntegration guide

Connecting ShareASale to Customer.io

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

Customer.io journeys branched on affiliate acquisition

Send the order event to Customer.io under the email identifier with affiliate ID and publisher type from your order record, and write first-order publisher type onto the person so welcome series can skip coupons for coupon-site shoppers. Make the field mandatory to avoid default discount paths, and never resend the order when commission locks or reverses.

Customer.io takes your order as an event under the person identifier you assign, usually email. The affiliate source becomes useful only as an attribute that a campaign condition references: send the order event with fields for affiliate ID and publisher type pulled from your order record, and write the publisher type of the first order onto the person. Then a welcome series can skip the coupon for people who arrived from a coupon site, who already used one.

Make the field mandatory in whatever builds the payload. A Customer.io campaign that branches on publisher type and receives an empty value will take the default path, and if the default is the discount path, every affiliate shopper gets the code. Test with a real affiliate test order and a non-affiliate order before going live, using a test person so a real email does not go out.

Do not resend the order when the affiliate commission is later locked or reversed. Those network events are about paying publishers, not about the customer, and resending the order event would enter the person into post-purchase workflows a second time.

ShareASale → Customer.io · what breaks

Why this join usually fails — ShareASale → Customer.io

  1. 01

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

    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.

ShareASale → Customer.io · the fix

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

ShareASale → Customer.io · architecture

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

    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 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

    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.

ShareASale → Customer.io · normal or broken

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

Normal, not a fault

  • The person identifier you assign present on the conversion

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

Actually broken

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

    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

ShareASale → Customer.io · diagnose

Diagnostic order — ShareASale → Customer.io

  1. 01

    Count conversions carrying the person identifier you assign

  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

    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.

ShareASale → Customer.io · prove

How it gets proven — ShareASale → Customer.io

Source of truth

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

  • The person identifier you assign confirmed present on a live conversion.
  • Events confirmed on person profiles with the triggered campaign activity verified, in a test workspace before production.
  • Orders reconciled net of commission against imported conversions, with the paid-media overlap measured.

ShareASale → 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
  • Segment commissions by publisher type and time-from-click to order
  • Confirm which workspace you are writing to before sending anything
  • 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 → Customer.io · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the person identifier you assign.
  • 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 your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

ShareASale → Customer.io · what we deliver

What gets built — ShareASale → Customer.io

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

Read it from your order record at purchase and include it as event attributes and a person attribute, not from the network's reporting.

Free · 30 min

Get ShareASale and Customer.io joined properly

Free30 minutesNo obligation