Skip to main content
Refersion → Marketing CloudIntegration guide

Connecting Refersion to Salesforce Marketing Cloud

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. Marketing Cloud is a different product from Salesforce CRM with a different identity model, which catches out almost everyone who assumes a contact in one is a contact in the other. The join between them succeeds or fails on one thing: whether the Subscriber Key reaches the Refersion conversion before the conversion happens, because Marketing Cloud can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Refersion to Marketing Cloud: creator source in a data extension

Add Refersion credit to Salesforce Marketing Cloud as an affiliate ID and credit date column on the order data extension, or a separate one keyed on Subscriber Key, once Refersion credits the order. Confirm which Subscriber Key your connector uses, write into a data extension that is not a journey entry source, and update the column when conversions are denied.

On a Shopify brand using Salesforce Marketing Cloud, orders usually reach a data extension through a connector or a scheduled import, and journeys read from there. Refersion credit belongs in the same place: a column on the order data extension, or a separate one keyed on Subscriber Key, holding the affiliate ID and credit date, filled once Refersion credits the order.

The Subscriber Key for these customers is often the Shopify customer ID or the email, depending on how the connector was set up; check before writing Refersion data, or creator-acquired customers end up as a second subscriber with no order history. Write the affiliate data as an update into a data extension that is not a journey entry source, so the credit does not re-inject customers into a post-purchase journey they already entered.

With the column in place, decision splits can route creator-acquired customers away from first-order discounts, and creator-specific content can name the creator who referred them. Refersion denies conversions after refunds and manual review; update the column then too, or segmentation keeps treating reversed orders as creator-acquired.

Refersion → Marketing Cloud · what breaks

Why this join usually fails — Refersion → Marketing Cloud

  1. 01

    The Subscriber Key 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

    Two identity models treated as one

    Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.

  4. 04

    Nothing reconciles afterwards

    Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.

Refersion → Marketing Cloud · the fix

What working looks like — Refersion → Marketing Cloud

  • The Subscriber Key on every conversion

  • Conversions arriving in Marketing Cloud

    The record lands in the data extension, the journey's entry criteria evaluate on its schedule, and sends follow.

  • Reconciled against the source

Refersion → Marketing Cloud · architecture

How Refersion and Marketing Cloud 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

    Salesforce Marketing Cloud needs a click to match

    The Subscriber Key, the data extension the journey listens to, and the fields its decision splits reference. An event landing in the wrong data extension will be stored correctly and trigger nothing.

  3. 3

    The identifier is the bridge

    The Subscriber Key, 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

    Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.

Refersion → Marketing Cloud · normal or broken

Working vs. broken, side by side — Refersion → Marketing Cloud

Normal, not a fault

  • The Subscriber Key present on the conversion

  • Sent from the store order record with Refersion attribution attached

  • Deduplicated correctly

    Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.

  • Reconciles with the source

Actually broken

  • The Subscriber Key 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

    Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.

  • Nobody has reconciled it

Refersion → Marketing Cloud · diagnose

Diagnostic order — Refersion → Marketing Cloud

  1. 01

    Count conversions carrying the Subscriber Key

  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 what Subscriber Key is actually set to in this org

    Before sending anything. It is a configuration decision made once, often years ago, and every integration built afterwards inherits it.

  5. 05

    Read the match rate, not the success message

    Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.

Refersion → Marketing Cloud · prove

How it gets proven — Refersion → Marketing Cloud

Source of truth

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

  • The Subscriber Key confirmed present on a live conversion.
  • Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
  • Non-affiliate orders reconciled against imported conversions, with the overlap measured and stated.

Refersion → Marketing Cloud · free audit

What we check in the free audit

  • Count conversions carrying the Subscriber Key
  • Follow one real conversion end to end
  • Count orders appearing in both paid conversions and Refersion
  • Confirm what Subscriber Key is actually set to in this org
  • 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 → Marketing Cloud · when not to buy

When you don't need this — Refersion → Marketing Cloud

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the Subscriber Key.
  • No affiliate programme means no conflict and this reduces to an ordinary store integration.
  • If you are on Salesforce CRM but sending email through a simpler platform, adding Marketing Cloud brings an identity model to reconcile that you currently do not have to think about.

Refersion → Marketing Cloud · what we deliver

What gets built — Refersion → Marketing Cloud

  • 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 Marketing Cloud

    A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.

  • 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 → Marketing Cloud questions, answered

Write the affiliate ID into a data extension keyed on the same Subscriber Key your Shopify orders use, as an update that does not trigger journey entry.

Free · 30 min

Get Refersion and Marketing Cloud joined properly

Free30 minutesNo obligation