Skip to main content
CartHook → Marketing CloudIntegration guide

Connecting CartHook to Salesforce Marketing Cloud

CartHook does post-purchase one-click upsells specifically, which means every pound it adds arrives after the order was created and after any checkout-time conversion already fired. 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 CartHook post-purchase order 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

CartHook to Marketing Cloud: upsert the order row, don't insert twice

Marketing Cloud journeys start from data extension rows, so inserting a Shopify order and again after the CartHook upsell gives two entries. Use the Shopify order number as primary key and upsert, delay the insert or add a wait step so emails read the settled row, store the upsell outcome as a field, and settle the Subscriber Key first.

Marketing Cloud journeys start from rows landing in a data extension. A CartHook store that inserts the order when Shopify creates it, then inserts again when the upsell is appended, has given the order-confirmation journey two entries for one purchase. Use the Shopify order number as the data extension's primary key and upsert, so the settled order updates the existing row, and check whether the journey's entry settings re-admit a contact on an updated row.

Timing still matters. If the entry source evaluates right after the insert, the first version of the row, without the upsell, is what the email renders. Either delay the insert until after the post-purchase window or add a wait step before the send so the confirmation and any cross-sell content read the settled row. Store the upsell outcome as its own field so decision splits can route accepted and declined buyers differently.

Decide the Subscriber Key before any of this: if it is the Shopify customer ID for account holders and the email for guests, the same person can exist twice and receive two confirmations. An upsell-only refund should update the row's value and outcome fields, not trigger a cancellation journey.

CartHook → Marketing Cloud · what breaks

Why this join usually fails — CartHook → Marketing Cloud

  1. 01

    The Subscriber Key never reaches CartHook

    The offer runs after order creation, so anything that fired at checkout has already gone.

  2. 02

    Upsell revenue that no campaign ever gets credit for

    If the conversion fires at checkout, every pound the upsell adds is invisible. The campaigns bringing buyers most receptive to upsells look identical to those bringing the least receptive.

  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.

CartHook → Marketing Cloud · the fix

What working looks like — CartHook → Marketing Cloud

  • The Subscriber Key on every order

  • 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

CartHook → Marketing Cloud · architecture

How CartHook and Marketing Cloud actually connect

  1. 1

    CartHook holds the truth

    A one-click upsell charges the stored payment method and appends to the same order. The order total changes; the checkout total does not.

  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 CartHook post-purchase order.

  4. 4

    The event source decides reliability

    Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.

  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.

CartHook → Marketing Cloud · normal or broken

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

Normal, not a fault

  • The Subscriber Key present on the order

  • Sent from the Shopify order webhook

  • 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 offer runs after order creation, so anything that fired at checkout has already gone.

  • Sent from the browser

    If the conversion fires at checkout, every pound the upsell adds is invisible. The campaigns bringing buyers most receptive to upsells look identical to those bringing the least receptive.

  • 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

CartHook → Marketing Cloud · diagnose

Diagnostic order — CartHook → Marketing Cloud

  1. 01

    Count orders carrying the Subscriber Key

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare checkout total against final settled total

    The gap is the revenue your conversion reporting is currently discarding.

  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.

CartHook → Marketing Cloud · prove

How it gets proven — CartHook → Marketing Cloud

Source of truth

The final Shopify order total after the post-purchase sequence completes.

  • The Subscriber Key confirmed present on a live order.
  • Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
  • Settled order totals reconciled against imported conversions for a closed week.

CartHook → Marketing Cloud · free audit

What we check in the free audit

  • Count orders carrying the Subscriber Key
  • Follow one real conversion end to end
  • Compare checkout total against final settled total
  • Confirm what Subscriber Key is actually set to in this org
  • Read the match rate, not the success message

Checked against

The final Shopify order total after the post-purchase sequence completes.

Get my free conversion tracking audit

Free30 minutesNo obligation

CartHook → Marketing Cloud · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Subscriber Key.
  • Stores without post-purchase offers can report checkout value and the timing question does not arise.
  • 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.

CartHook → Marketing Cloud · what we deliver

What gets built — CartHook → Marketing Cloud

  • Identifier capture into CartHook

    Send the conversion from the order webhook once the post-purchase window closes, rather than at checkout.

  • Event source: the Shopify order webhook

    Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.

  • 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; an upsell-only refund should reduce rather than reverse the order.

Written guarantee

95%+ tracking accuracy

Measured against The final Shopify order total after the post-purchase sequence completes.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

CartHook → Marketing Cloud questions, answered

The order was inserted at creation and again after the upsell, so the journey saw two entries. Upsert on the order number instead.

Free · 30 min

Get CartHook and Marketing Cloud joined properly

Free30 minutesNo obligation