Connecting Clerk to Salesforce Marketing Cloud
Clerk handles both authentication and organisation membership, which matters for B2B products where the paying entity is a company and the signing-up entity is a person. 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 Clerk user and organisation 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
Clerk users in Marketing Cloud: pick one Subscriber Key
Choose one Marketing Cloud Subscriber Key, Clerk user ID or CRM Contact ID, and store the other on the row. Insert signups from Clerk's user.created webhook into the onboarding data extension with organization ID, role and creator-versus-invitee flag. Insert billing rows once per organization for the admin only.
Marketing Cloud usually arrives alongside Salesforce CRM, and for Clerk users the identity choice is between the Clerk user ID and the CRM Contact ID as Subscriber Key. If sales creates Contacts from product sign-ups, the Contact ID is often the better key because it already joins Marketing Cloud to the CRM; if many users never reach the CRM, the Clerk user ID covers everyone. Pick one and store the other on the subscriber row; mixing them creates two subscribers per person.
Insert sign-ups from Clerk's user.created webhook into the data extension your onboarding journey listens to, with organization ID, role and whether the user created the organization or accepted an invitation. The decision split that sends invitees down a different path depends on that field arriving populated.
B2B billing messages need organization-level entry. Insert a trial-ending or payment-failed row once per organization, for its billing admin only; inserting one per member enters each into a journey that may include SMS, and the whole team gets texted about an invoice only one of them can pay. On paid conversion, update the plan field for every member instead of entering each into a purchase journey.
Clerk → Marketing Cloud · what breaks
Why this join usually fails — Clerk → Marketing Cloud
- 01
The Subscriber Key never reaches Clerk
Several people from one company sign up separately, each carrying a different acquisition source.
- 02
Counting seats instead of customers
Five colleagues signing up from one company is one paying customer and five conversions if attribution sits on the user. Cost per acquisition then reads as a fifth of reality.
- 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.
Clerk → Marketing Cloud · the fix
What working looks like — Clerk → Marketing Cloud
The Subscriber Key on every account
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
Clerk → Marketing Cloud · architecture
How Clerk and Marketing Cloud actually connect
- 1
Clerk holds the truth
In B2B SaaS the subscription belongs to an organisation and several users belong to it. Attributing revenue per user counts one customer several times.
- 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 Clerk user and organisation.
- 4
The event source decides reliability
Send paid conversions per organisation, deduplicated across its users.
- 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.
Clerk → Marketing Cloud · normal or broken
Working vs. broken, side by side — Clerk → Marketing Cloud
Normal, not a fault
The Subscriber Key present on the account
Sent from your billing system, keyed on the organisation
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
Several people from one company sign up separately, each carrying a different acquisition source.
Sent from the browser
Five colleagues signing up from one company is one paying customer and five conversions if attribution sits on the user. Cost per acquisition then reads as a fifth of reality.
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
Clerk → Marketing Cloud · diagnose
Diagnostic order — Clerk → Marketing Cloud
- 01
Count accounts carrying the Subscriber Key
- 02
Follow one real conversion end to end
- 03
Compare user signups against paying organisations
The ratio is the size of the overcount, and in B2B products it is rarely close to one.
- 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.
Clerk → Marketing Cloud · prove
How it gets proven — Clerk → Marketing Cloud
Source of truth
Your billing system, joined to the Clerk organisation rather than the user.
- The Subscriber Key confirmed present on a live account.
- Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
- Paid conversions reconciled per organisation against imported conversions, deduplicated across users.
Clerk → Marketing Cloud · free audit
What we check in the free audit
- Count accounts carrying the Subscriber Key
- Follow one real conversion end to end
- Compare user signups against paying organisations
- Confirm what Subscriber Key is actually set to in this org
- Read the match rate, not the success message
Checked against
Your billing system, joined to the Clerk organisation rather than the user.
Free30 minutesNo obligation
Clerk → Marketing Cloud · when not to buy
When you don't need this — Clerk → Marketing Cloud
- Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the Subscriber Key.
- Consumer products where one user is one customer do not have this distinction.
- 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.
Clerk → Marketing Cloud · what we deliver
What gets built — Clerk → Marketing Cloud
Identifier capture into Clerk
Store the identifier on the user and attribute at the organisation, using the first user's source with the others recorded as supporting.
Event source: your billing system, keyed on the organisation
Send paid conversions per organisation, deduplicated across its users.
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
Cancellations reverse against the organisation.
Written guarantee
95%+ tracking accuracy
Measured against Your billing system, joined to the Clerk organisation rather than the user.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Clerk → Marketing Cloud questions, answered
Either the Clerk user ID or the Salesforce Contact ID, chosen once, with the other stored as a field. Mixing them creates duplicate subscribers.
Insert billing events once per organization, for the admin only, and update members with a plan field instead.
Almost always because the Subscriber Key never reached the Clerk user and organisation. Several people from one company sign up separately, each carrying a different acquisition source. 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.
Your billing system, keyed on the organisation. Send paid conversions per organisation, deduplicated across its users.
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 Clerk → 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 Clerk → Marketing Cloud fits in the rest of your tracking
- Supabase Auth → Marketing CloudConnecting Supabase Auth to Salesforce Marketing Cloud
- Auth0 → Marketing CloudConnecting Auth0 to Salesforce Marketing Cloud
- Firebase Auth → Marketing CloudConnecting Firebase Authentication to Salesforce Marketing Cloud
- Clerk → Customer.ioConnecting Clerk to Customer.io
- Clerk → KlaviyoConnecting Clerk to Klaviyo
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- Okta → Marketing CloudConnecting Okta to Salesforce Marketing Cloud
Free · 30 min
Get Clerk and Marketing Cloud joined properly
Free30 minutesNo obligation
