Connecting Clerk to Awin
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. Awin is a traditional last-click affiliate network, and last-click is the whole problem: whoever touched the customer most recently takes the commission, which is a structural invitation for voucher-code sites to intercept sales you had already won. The join between them succeeds or fails on one thing: whether the Awin click reference, awc reaches the Clerk user and organisation before the conversion happens, because Awin can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Awin for a Clerk-based SaaS: commission the org, not the seat
Capture Awin's awc click reference on landing, pass it into Clerk sign-up as unsafeMetadata, and copy it to privateMetadata in your user.created webhook. Post the organization's first paid invoice server-to-server from billing, using the organization ID as order reference, never per user. Check how Awin treats conversions after long trials.
Awin's publisher base leans toward retail, coupon and content sites, so a SaaS product on Clerk is an unusual advertiser there. If you run an Awin program anyway, the awc click reference has to be captured when the visitor lands and stored on the Clerk user at sign-up. Sign-up accepts unsafeMetadata from the browser, and your user.created webhook handler can copy the value into privateMetadata so the user cannot edit it later.
The commissionable event should be the organization's first paid invoice, posted server-to-server from billing with the organization ID as the order reference. Send it per user instead and a publisher who referred one admin is paid five times when that admin invites four colleagues, which Awin's order-reference dedup will not catch because each send carries a different reference.
Trials are the timing problem. If a free trial runs two to four weeks, the paid conversion may arrive after Awin's cookie window has closed, even though awc was captured on day one; check how Awin treats a conversion reported with an older click reference before agreeing commission terms with publishers. Coupon sites matter less for SaaS than for retail, but sites listing your discount or extended-trial codes can still claim last click at checkout.
Clerk → Awin · what breaks
Why this join usually fails — Clerk → Awin
- 01
The Awin click reference, awc 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
Voucher-code publishers intercepting sales at the checkout
A customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.
- 04
Nothing reconciles afterwards
Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.
Clerk → Awin · the fix
What working looks like — Clerk → Awin
The Awin click reference, awc on every account
Conversions arriving in Awin
The sale appears as pending, publishers see it in their reporting, and it validates after your approval period.
Reconciled against the source
Clerk → Awin · architecture
How Clerk and Awin 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
Awin needs a click to match
Awin needs the click reference, a unique order reference, the order value and the commission group. Missing the click reference means the sale is untracked and the publisher will query it.
- 3
The identifier is the bridge
The Awin click reference, awc, 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
Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.
Clerk → Awin · normal or broken
Working vs. broken, side by side — Clerk → Awin
Normal, not a fault
The Awin click reference, awc present on the account
Sent from your billing system, keyed on the organisation
Deduplicated correctly
Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.
Reconciles with the source
Actually broken
The Awin click reference, awc 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
A customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.
Nobody has reconciled it
Clerk → Awin · diagnose
Diagnostic order — Clerk → Awin
- 01
Count accounts carrying the Awin click reference, awc
- 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
Segment publishers by type and check where the click happened in the journey
Voucher and cashback clicks that occur within seconds of an order are interception, not acquisition. Use the deduplication flag rather than paying for both.
- 05
Read the match rate, not the success message
Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.
Clerk → Awin · prove
How it gets proven — Clerk → Awin
Source of truth
Your billing system, joined to the Clerk organisation rather than the user.
- The Awin click reference, awc confirmed present on a live account.
- Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
- Paid conversions reconciled per organisation against imported conversions, deduplicated across users.
Clerk → Awin · free audit
What we check in the free audit
- Count accounts carrying the Awin click reference, awc
- Follow one real conversion end to end
- Compare user signups against paying organisations
- Segment publishers by type and check where the click happened in the journey
- 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 → Awin · when not to buy
When you don't need this — Clerk → Awin
- Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the Awin click reference, awc.
- Consumer products where one user is one customer do not have this distinction.
- If you run no affiliate programme this is irrelevant. If you do, the commission structure by publisher type will change your economics more than the tracking accuracy will.
Clerk → Awin · what we deliver
What gets built — Clerk → Awin
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 Awin
Server-to-server conversion posting from your order system, or the tracking pixel where server posting is not available.
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 → Awin questions, answered
Capture awc on landing, set it in the user's metadata at sign-up, then copy it server-side to private metadata. Send it with the organization's first paid invoice.
Per organization, using the organization ID as the order reference. Per-user sends pay several times for one customer.
Almost always because the Awin click reference, awc 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.
Awin sets the awc parameter on the landing URL and stores it in a cookie for the attribution window. Because attribution is last-click, that cookie being overwritten late in the journey transfers the commission — which is exactly what a voucher-code extension does at the checkout page.
Your billing system, keyed on the organisation. Send paid conversions per organisation, deduplicated across its users.
Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.
More on Clerk → Awin
- Stripe → AwinConnecting Stripe to Awin
- PayPal → AwinConnecting PayPal to Awin
- Shopify → AwinConnecting Shopify to Awin
RELATED GUIDES
Where Clerk → Awin fits in the rest of your tracking
- Auth0 → AwinConnecting Auth0 to Awin
- Supabase Auth → AwinConnecting Supabase Auth to Awin
- Firebase Auth → AwinConnecting Firebase Authentication to Awin
- Clerk → PartnerStackConnecting Clerk to PartnerStack
- Clerk → ImpactConnecting Clerk to Impact.com
- B2BConversion tracking for B2B, from first touch to closed-won
- Okta → AwinConnecting Okta to Awin
Free · 30 min
Get Clerk and Awin joined properly
Free30 minutesNo obligation
