Skip to main content
ReferralCandy → Marketing CloudIntegration guide

Connecting ReferralCandy to Salesforce Marketing Cloud

ReferralCandy serves smaller stores where the referral programme is often the second-largest acquisition channel and is almost never measured against paid media properly. 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 ReferralCandy referral 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

ReferralCandy and Marketing Cloud: no double welcome discount

Add a referred flag, set from the referral cookie or friend's coupon, to the data extension your Marketing Cloud welcome journey reads, and branch so referred buyers skip the first-order discount. Write referrer reward events to a separate data extension keyed on Subscriber Key, updating rows on state change, and turn off ReferralCandy emails a journey replaces.

The Marketing Cloud problem specific to referrals is the welcome journey. A referred friend arrives with a ReferralCandy discount, buys, opts in, and enters the standard welcome journey, which offers a first-order discount they have already used. At best it is wasted; at worst it teaches new customers to wait for a second code.

Add a referred flag to the order or customer data extension the welcome journey reads, set from the referral cookie or friend's coupon at checkout, and branch on it to skip the discount. For the referrer, write reward events to a separate data extension: friend purchased, reward issued, reward reclaimed, with amount and code. Key both on the Subscriber Key, looked up from the email ReferralCandy holds, not on a raw email, unless email is your Subscriber Key.

Update reward rows on state change instead of inserting new ones; each insert can re-enter a journey and send the referrer a second reward email. Check which emails ReferralCandy sends by default and turn off any that a journey replaces. If you run Marketing Cloud mainly for scale and ReferralCandy's emails already work, the only change worth making is the welcome-journey branch.

ReferralCandy → Marketing Cloud · what breaks

Why this join usually fails — ReferralCandy → Marketing Cloud

  1. 01

    The Subscriber Key never reaches ReferralCandy

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  2. 02

    Referral and paid competing for the same orders

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  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.

ReferralCandy → Marketing Cloud · the fix

What working looks like — ReferralCandy → Marketing Cloud

  • The Subscriber Key on every referral

  • 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

ReferralCandy → Marketing Cloud · architecture

How ReferralCandy and Marketing Cloud actually connect

  1. 1

    ReferralCandy holds the truth

    At small-store scale the referral programme can rival paid acquisition in volume. Pooling them means neither channel's true cost per acquisition is knowable.

  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 ReferralCandy referral.

  4. 4

    The event source decides reliability

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  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.

ReferralCandy → Marketing Cloud · normal or broken

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

Normal, not a fault

  • The Subscriber Key present on the referral

  • Sent from your order feed with referral attribution

  • 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

    Referral links land with their own parameters on a store that may already hold a paid identifier.

  • Sent from the browser

    Without a precedence rule the credit goes to whichever parameter was written last, which means your reported channel mix is an accident of browsing order.

  • 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

ReferralCandy → Marketing Cloud · diagnose

Diagnostic order — ReferralCandy → Marketing Cloud

  1. 01

    Count referrals carrying the Subscriber Key

  2. 02

    Follow one real conversion end to end

  3. 03

    Count orders carrying both a referral and a paid parameter

    It is usually a meaningful share, and every one of them is currently credited by luck.

  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.

ReferralCandy → Marketing Cloud · prove

How it gets proven — ReferralCandy → Marketing Cloud

Source of truth

Store orders flagged by referral, net of both rewards.

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

ReferralCandy → Marketing Cloud · free audit

What we check in the free audit

  • Count referrals carrying the Subscriber Key
  • Follow one real conversion end to end
  • Count orders carrying both a referral and a paid parameter
  • 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 referral, net of both rewards.

Get my free conversion tracking audit

Free30 minutesNo obligation

ReferralCandy → Marketing Cloud · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred referrals and count how many carry the Subscriber Key.
  • No referral programme, no conflict.
  • 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.

ReferralCandy → Marketing Cloud · what we deliver

What gets built — ReferralCandy → Marketing Cloud

  • Identifier capture into ReferralCandy

    Set precedence explicitly and record both identifiers on the order.

  • Event source: your order feed with referral attribution

    Send orders net of rewards, with referral orders marked and excluded from paid conversion imports.

  • 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 reclaim rewards.

Written guarantee

95%+ tracking accuracy

Measured against Store orders flagged by referral, net of both rewards.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ReferralCandy → Marketing Cloud questions, answered

Set a referred flag at checkout, write it to the data extension the welcome journey reads, and branch around the discount when it is true.

Free · 30 min

Get ReferralCandy and Marketing Cloud joined properly

Free30 minutesNo obligation