Skip to main content
Clerk → ImpactIntegration guide

Connecting Clerk to Impact.com

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. Impact is the first destination on this site that pays somebody for the conversion you send it, which changes the stakes completely: an event that is wrong here does not distort a report, it produces a payment. The join between them succeeds or fails on one thing: whether the Impact click identifier, irclickid reaches the Clerk user and organisation before the conversion happens, because Impact can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Impact partners on a Clerk SaaS: irclickid to the paid org

Keep the irclickid in a first-party cookie, attach it to Clerk sign-up in unsafeMetadata, and move it to privateMetadata in your user.created handler. Post to the Impact Conversions API once, when the organization's first invoice is paid, with the invoice ID as order ID and the creating user's irclickid. Reverse on billing refunds.

Impact suits SaaS partner programs, and the fragile step in a Clerk product is keeping irclickid from the landing page until a sign-up exists to hold it. Keep it in a first-party cookie, attach it to the Clerk sign-up in unsafeMetadata, and move it to privateMetadata in your user.created webhook handler, so it sits on the server where the user cannot change it.

Report the conversion at the organization level. The partner earned the customer, not the seat, so post to the Impact Conversions API once, when the organization's first invoice is paid, with the invoice ID as the order ID and the irclickid of the user who created the organization. If a second user from the same company arrived through a different partner, record that internally and do not post it; Impact's order-ID dedup cannot catch it, because later members have no order of their own.

Reversals map to billing events, not Clerk users. A refunded first invoice or a cancellation before the action locks should reverse the action in Impact before commission is approved; a user deleting their Clerk account should not, because the organization may still be paying. If partners want to see sign-ups, send them as a separate zero-commission action.

Clerk → Impact · what breaks

Why this join usually fails — Clerk → Impact

  1. 01

    The Impact click identifier, irclickid never reaches Clerk

    Several people from one company sign up separately, each carrying a different acquisition source.

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

  3. 03

    A second party claiming a conversion your ads already paid for

    This is the structural problem with every affiliate and partnership platform. A customer clicks a paid ad, browses, later clicks a partner link for a discount code, and buys. Google reports a conversion, Impact commissions a partner, and you paid twice for one order. Neither system is wrong on its own terms — but nothing reconciles them unless you do.

  4. 04

    Nothing reconciles afterwards

    Impact shows the conversion in its reporting with the attributed partner and the commission. Check that the order ID matches your own record and that the value is net of what you actually keep, not the gross basket.

Clerk → Impact · the fix

What working looks like — Clerk → Impact

  • The Impact click identifier, irclickid on every account

  • Conversions arriving in Impact

    The conversion is attributed to a partner, held for your review or approval period, and then commissioned.

  • Reconciled against the source

Clerk → Impact · architecture

How Clerk and Impact actually connect

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

    Impact.com needs a click to match

    Impact needs the click identifier, an order identifier and the order value to attribute and commission the conversion. Without the click identifier it cannot tell which partner to pay.

  3. 3

    The identifier is the bridge

    The Impact click identifier, irclickid, captured at the visit and carried into the Clerk user and organisation.

  4. 4

    The event source decides reliability

    Send paid conversions per organisation, deduplicated across its users.

  5. 5

    Deduplication at the destination

    Impact deduplicates on your order identifier, so the same order sent twice will not commission twice — provided you send a stable order ID. Send a new ID for a retry and you have paid a partner twice for one sale.

Clerk → Impact · normal or broken

Working vs. broken, side by side — Clerk → Impact

Normal, not a fault

  • The Impact click identifier, irclickid present on the account

  • Sent from your billing system, keyed on the organisation

  • Deduplicated correctly

    Impact deduplicates on your order identifier, so the same order sent twice will not commission twice — provided you send a stable order ID. Send a new ID for a retry and you have paid a partner twice for one sale.

  • Reconciles with the source

Actually broken

  • The Impact click identifier, irclickid 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

    This is the structural problem with every affiliate and partnership platform. A customer clicks a paid ad, browses, later clicks a partner link for a discount code, and buys. Google reports a conversion, Impact commissions a partner, and you paid twice for one order. Neither system is wrong on its own terms — but nothing reconciles them unless you do.

  • Nobody has reconciled it

Clerk → Impact · diagnose

Diagnostic order — Clerk → Impact

  1. 01

    Count accounts carrying the Impact click identifier, irclickid

  2. 02

    Follow one real conversion end to end

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

  4. 04

    Count orders that appear in both your ad platforms and Impact

    The overlap is what you are paying for twice. It is a single query against order IDs and it is almost never run.

  5. 05

    Read the match rate, not the success message

    Impact shows the conversion in its reporting with the attributed partner and the commission. Check that the order ID matches your own record and that the value is net of what you actually keep, not the gross basket.

Clerk → Impact · prove

How it gets proven — Clerk → Impact

Source of truth

Your billing system, joined to the Clerk organisation rather than the user.

  • The Impact click identifier, irclickid confirmed present on a live account.
  • Conversions in Impact reconciled per order ID against your own order records, with the ad-platform overlap measured and stated.
  • Paid conversions reconciled per organisation against imported conversions, deduplicated across users.

Clerk → Impact · free audit

What we check in the free audit

  • Count accounts carrying the Impact click identifier, irclickid
  • Follow one real conversion end to end
  • Compare user signups against paying organisations
  • Count orders that appear in both your ad platforms and Impact
  • Read the match rate, not the success message

Checked against

Your billing system, joined to the Clerk organisation rather than the user.

Get my free conversion tracking audit

Free30 minutesNo obligation

Clerk → Impact · when not to buy

When you don't need this — Clerk → Impact

  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the Impact click identifier, irclickid.
  • Consumer products where one user is one customer do not have this distinction.
  • If you have no partner programme, there is nothing to send here. If you have one and are not reconciling the overlap with paid media, that reconciliation is worth more than any tracking build.

Clerk → Impact · what we deliver

What gets built — Clerk → Impact

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

    The Impact Conversions API, posted server-side from your order system with the click identifier, order ID and value.

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

Get my free conversion tracking audit

From $400 · See packages

FAQ

Clerk → Impact questions, answered

In the user's private metadata, copied from sign-up metadata by your webhook handler. Read it back when the organization's first invoice is paid.

Free · 30 min

Get Clerk and Impact joined properly

Free30 minutesNo obligation