Skip to main content
Refersion → Customer.ioIntegration guide

Connecting Refersion to Customer.io

Refersion runs affiliate and influencer programmes on Shopify stores, which puts a commission-earning third party directly alongside your paid media on the same orders. 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 Refersion conversion 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

Refersion to Customer.io: onboard your affiliates, not just buyers

Use Customer.io to run the affiliate lifecycle in a separate workspace keyed on the Refersion affiliate ID, with webhook or API events for applications, approvals and credited conversions where your plan exposes them. For customers, add the sourcing creator as an attribute on the buyer, sent once per credited order with the Shopify order number.

The less obvious use of this pair is the affiliates themselves. Refersion manages creators who apply, get approved, receive links and codes and wait for payouts, and most brands leave that relationship to Refersion's default notification emails. Customer.io can run a proper partner lifecycle if each affiliate is a person in a separate workspace, keyed on their Refersion affiliate ID rather than an email that may change.

Check whether your Refersion plan exposes webhooks or API access for affiliate events, such as a new application or an approval, and for conversions credited to an affiliate. With those, a first sale can trigger a congratulations email and a content brief, and thirty days without a conversion can trigger a nudge. Keeping partners in their own workspace means an affiliate event can never enter a customer campaign.

On the customer side, the useful signal is the creator who sourced the order, sent as an attribute on the buyer's person record. Customer.io does not deduplicate, so send it once per credited order with the Shopify order number in the event data, and test against a non-production workspace first; a malformed event here becomes a real email to a creator or a customer.

Refersion → Customer.io · what breaks

Why this join usually fails — Refersion → Customer.io

  1. 01

    The person identifier you assign never reaches Refersion

    Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.

  2. 02

    Influencer codes claiming paid traffic's orders

    A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, 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.

Refersion → Customer.io · the fix

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

Refersion → Customer.io · architecture

How Refersion and Customer.io actually connect

  1. 1

    Refersion holds the truth

    An affiliate order costs you a commission on top of whatever the ad click cost. If both systems claim it, the order is being paid for twice and neither report mentions the other.

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

  4. 4

    The event source decides reliability

    Send orders net of affiliate commission, with the affiliate-sourced share marked.

  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.

Refersion → Customer.io · normal or broken

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

Normal, not a fault

  • The person identifier you assign present on the conversion

  • Sent from the store order record with Refersion attribution attached

  • 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

    Affiliate links carry their own parameters and land on your store, frequently overwriting or colliding with a paid identifier already stored.

  • Sent from the browser

    A customer sees your ad, searches for a discount code, finds an influencer's, and orders. The influencer earns a commission on a sale your advertising produced, 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

Refersion → Customer.io · diagnose

Diagnostic order — Refersion → Customer.io

  1. 01

    Count conversions carrying the person identifier you assign

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders appearing in both paid conversions and Refersion

    The overlap is the double payment. One query, 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.

Refersion → Customer.io · prove

How it gets proven — Refersion → Customer.io

Source of truth

Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.

  • 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.
  • Non-affiliate orders reconciled against imported conversions, with the overlap measured and stated.

Refersion → 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
  • Count orders appearing in both paid conversions and Refersion
  • Confirm which workspace you are writing to before sending anything
  • Read the match rate, not the success message

Checked against

Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Refersion → Customer.io · when not to buy

When you don't need this — Refersion → 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 no conflict and this reduces to an ordinary store integration.
  • If your messaging is scheduled rather than behavioural, a simpler email platform does the job and removes the whole class of accidental-send risk.

Refersion → Customer.io · what we deliver

What gets built — Refersion → Customer.io

  • Identifier capture into Refersion

    Set an explicit precedence rule between affiliate and paid parameters rather than letting last-write-wins decide, and record both on the order.

  • Event source: the store order record with Refersion attribution attached

    Send orders net of affiliate commission, with the affiliate-sourced share marked.

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

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by whether an affiliate link or code produced them, with the commission recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Refersion → Customer.io questions, answered

Yes, if you sync affiliates into Customer.io as people with their Refersion ID and consent to receive program emails. Check which affiliate events your Refersion plan can send by webhook or API.

Free · 30 min

Get Refersion and Customer.io joined properly

Free30 minutesNo obligation