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
- 01
The Subscriber Key never reaches CartHook
The offer runs after order creation, so anything that fired at checkout has already gone.
- 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.
- 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.
- 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
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
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
The identifier is the bridge
The Subscriber Key, captured at the visit and carried into the CartHook post-purchase order.
- 4
The event source decides reliability
Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.
- 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
- 01
Count orders carrying the Subscriber Key
- 02
Follow one real conversion end to end
- 03
Compare checkout total against final settled total
The gap is the revenue your conversion reporting is currently discarding.
- 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.
- 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.
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.
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.
Store the upsell outcome on the order row and branch on it in the journey's decision split.
Almost always because the Subscriber Key never reached the CartHook post-purchase order. The offer runs after order creation, so anything that fired at checkout has already gone. Measure coverage before debugging the dispatch.
Marketing Cloud identifies people by Subscriber Key, which you define. It is not the CRM Contact ID unless somebody deliberately made it so, and in many orgs the two are unrelated. Sending an event keyed on the wrong one creates a second subscriber rather than updating the first, which splits the person across two journeys.
The Shopify order webhook. Send the settled order total, with upsell contribution recorded separately so take rate is visible per campaign.
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.
More on CartHook → Marketing Cloud
- Stripe → Marketing CloudConnecting Stripe to Salesforce Marketing Cloud
- PayPal → Marketing CloudConnecting PayPal to Salesforce Marketing Cloud
- Shopify → Marketing CloudConnecting Shopify to Salesforce Marketing Cloud
RELATED GUIDES
Where CartHook → Marketing Cloud fits in the rest of your tracking
- ReConvert → Marketing CloudConnecting ReConvert to Salesforce Marketing Cloud
- Zipify OCU → Marketing CloudConnecting Zipify OneClickUpsell to Salesforce Marketing Cloud
- AfterSell → Marketing CloudConnecting AfterSell to Salesforce Marketing Cloud
- CartHook → BrazeConnecting CartHook to Braze
- CartHook → KlaviyoConnecting CartHook to Klaviyo
- BeautyConversion tracking for beauty brands, including the second order
- Rebuy → Marketing CloudConnecting Rebuy to Salesforce Marketing Cloud
Free · 30 min
Get CartHook and Marketing Cloud joined properly
Free30 minutesNo obligation
