Skip to main content
ShareASale → Marketing CloudIntegration guide

Connecting ShareASale to Salesforce Marketing Cloud

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

Affiliate acquisition in a Marketing Cloud data extension

Add a required acquisition publisher type column, populated from your order record, to the order data extension your post-purchase journey reads, inserted under a consistently derived Subscriber Key. A decision split can then skip second-purchase coupons for coupon and cashback buyers. Keep publisher names and commission out of sendable data extensions.

In Marketing Cloud the affiliate source only matters if a journey decision split reads it. Add an acquisition publisher type column to the order data extension the post-purchase journey listens to, and populate it from your order record at insert. Insert under the Subscriber Key derived the same way for every order, because affiliate shoppers often check out as guests and a mismatched key creates a new subscriber who enters the welcome journey again.

A practical split: send a second-purchase coupon to customers acquired through content publishers and paid channels, and skip it for coupon and cashback acquisitions, who bought on a deal. Make the field required in the data extension so a blank value does not route everyone down the default path.

Keep the affiliate's identity out of anything that renders in a message. A personalization string pulling publisher name into an email by mistake tells the customer which coupon site they used and tells nobody anything useful. Commission data belongs in your finance reporting, not in a sendable data extension, where anyone with journey access can read it.

ShareASale → Marketing Cloud · what breaks

Why this join usually fails — ShareASale → Marketing Cloud

  1. 01

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

    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.

ShareASale → Marketing Cloud · the fix

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

ShareASale → Marketing Cloud · architecture

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

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

    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.

ShareASale → Marketing Cloud · normal or broken

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

Normal, not a fault

  • The Subscriber Key present on the conversion

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

    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

    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

ShareASale → Marketing Cloud · diagnose

Diagnostic order — ShareASale → Marketing Cloud

  1. 01

    Count conversions carrying the Subscriber Key

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

ShareASale → Marketing Cloud · prove

How it gets proven — ShareASale → Marketing Cloud

Source of truth

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

  • 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.
  • Orders reconciled net of commission against imported conversions, with the paid-media overlap measured.

ShareASale → Marketing Cloud · free audit

What we check in the free audit

  • Count conversions carrying the Subscriber Key
  • Follow one real conversion end to end
  • Segment commissions by publisher type and time-from-click to order
  • Confirm what Subscriber Key is actually set to in this org
  • 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 → Marketing Cloud · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the Subscriber Key.
  • 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 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.

ShareASale → Marketing Cloud · what we deliver

What gets built — ShareASale → Marketing Cloud

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

Add publisher type to the order data extension at insert and branch on it in a decision split, typically to withhold discounts from coupon acquisitions.

Free · 30 min

Get ShareASale and Marketing Cloud joined properly

Free30 minutesNo obligation