Skip to main content
Friendbuy → Marketing CloudIntegration guide

Connecting Friendbuy to Salesforce Marketing Cloud

Friendbuy runs customer-to-customer referral, which means the acquisition was produced by an existing customer and paid for with a reward on both sides. 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 Friendbuy 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

Friendbuy into Marketing Cloud: rewards, reminders, two identities

Insert Friendbuy events into a Marketing Cloud data extension keyed on Subscriber Key, looking the Key up from email first to avoid duplicate subscribers. Separate advocate and friend events by data extension or role field, and include reward amount, code and expiry. A friend claiming a discount has not opted into marketing, so check consent before promotional journeys.

Marketing Cloud is where referral journeys usually run: tell the advocate their friend bought, tell them a reward is ready, nudge a friend who claimed the offer but never ordered. That needs Friendbuy events in a data extension keyed on Subscriber Key. Friendbuy knows people by email, while Subscriber Key in many orgs is a CRM ID. Look the Subscriber Key up from the email before inserting; inserting on email in an org keyed on IDs creates a second subscriber who gets every referral email twice.

Keep advocate events and friend events apart, in separate data extensions or with an explicit role field the journey splits on. A journey listening for referral completed that ignores role will send the advocate the friend's discount message. Include reward amount, code and expiry as fields if the email displays them, so a missing value fails visibly in testing instead of rendering a blank in production.

Consent does not come with the referral. A friend who typed an email to claim a discount has not necessarily opted into marketing; the transactional message carrying their code and a promotional journey are different permissions. Check what your Friendbuy capture form tells the friend before enrolling them. Also check whether Friendbuy offers a native Marketing Cloud connector; otherwise webhooks to your server, which does the lookup and insert, is the usual route.

Friendbuy → Marketing Cloud · what breaks

Why this join usually fails — Friendbuy → Marketing Cloud

  1. 01

    The Subscriber Key never reaches Friendbuy

    Referral links route through Friendbuy and land on your store with their own parameters, potentially overwriting a stored paid identifier.

  2. 02

    Word of mouth billed to the ad account

    The better your referral programme performs, the worse your paid reporting gets — a genuinely perverse outcome caused entirely by last-write-wins identifier storage that nobody consciously chose.

  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.

Friendbuy → Marketing Cloud · the fix

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

Friendbuy → Marketing Cloud · architecture

How Friendbuy and Marketing Cloud actually connect

  1. 1

    Friendbuy holds the truth

    A double-sided referral costs you two discounts to acquire one customer. That is a real and known acquisition cost, and it sits nowhere near the ad account that will otherwise claim the sale.

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

  4. 4

    The event source decides reliability

    Send orders net of both referral rewards, with referral-sourced orders marked and held out of 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.

Friendbuy → Marketing Cloud · normal or broken

Working vs. broken, side by side — Friendbuy → 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 route through Friendbuy and land on your store with their own parameters, potentially overwriting a stored paid identifier.

  • Sent from the browser

    The better your referral programme performs, the worse your paid reporting gets — a genuinely perverse outcome caused entirely by last-write-wins identifier storage that nobody consciously chose.

  • 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

Friendbuy → Marketing Cloud · diagnose

Diagnostic order — Friendbuy → Marketing Cloud

  1. 01

    Count referrals carrying the Subscriber Key

  2. 02

    Follow one real conversion end to end

  3. 03

    Check precedence between referral and paid parameters

    Whichever wins decides who gets credit, and almost nobody has decided it deliberately.

  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.

Friendbuy → Marketing Cloud · prove

How it gets proven — Friendbuy → Marketing Cloud

Source of truth

Orders flagged by whether a referral produced them, with both reward costs recorded.

  • 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 reported separately.

Friendbuy → Marketing Cloud · free audit

What we check in the free audit

  • Count referrals carrying the Subscriber Key
  • Follow one real conversion end to end
  • Check precedence between referral and paid parameters
  • Confirm what Subscriber Key is actually set to in this org
  • Read the match rate, not the success message

Checked against

Orders flagged by whether a referral produced them, with both reward costs recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Friendbuy → Marketing Cloud · when not to buy

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

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

Friendbuy → Marketing Cloud · what we deliver

What gets built — Friendbuy → Marketing Cloud

  • Identifier capture into Friendbuy

    Apply an explicit precedence rule between referral and paid parameters and record both on the order.

  • Event source: your order feed with referral attribution

    Send orders net of both referral rewards, with referral-sourced orders marked and held out of 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 should reclaim rewards.

Written guarantee

95%+ tracking accuracy

Measured against Orders flagged by whether a referral produced them, with both reward costs recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Friendbuy → Marketing Cloud questions, answered

Usually the event was inserted keyed on email in an org whose Subscriber Key is a CRM ID, so the advocate now exists twice in the same journey.

Free · 30 min

Get Friendbuy and Marketing Cloud joined properly

Free30 minutesNo obligation