Connecting Craft CMS to Impact.com
Craft is a developer-oriented CMS, usually built bespoke by an agency, which means the implementation is whatever that agency decided and nothing is standard. 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 Craft Commerce order 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
Craft Commerce to Impact: one stable order ID, retries included
Post Impact conversions from a queue job pushed by the order-complete listener, always using the Commerce order reference as order ID so retries don't create second commissions. Capture irclickid with JavaScript on landing, store it in an order custom field, send the net total, and reverse refunds before Impact's locking date.
Impact pays a partner for every order you send, and the duplicate risk on Craft is the queue. A well-built integration posts the conversion from a queue job pushed by the order-complete listener, so a slow Impact response does not hold up checkout. Queue jobs retry on failure, and if the job generates its own reference, or uses something other than the order reference, a retry becomes a second commissioned sale.
Use the Commerce order reference (or number; choose one) as Impact's order ID everywhere, including any later modification. Capture irclickid with JavaScript on landing, because a statically cached landing page will not run server-side code, store it on the order in a custom field, and send it with the order total net of discounts, plus line items if your contract pays by category.
Refunds and cancellations in Craft are recorded against the order, so the same listener pattern can reverse or reduce the action in Impact before it locks. After that the commission stands. Then run the overlap check monthly: orders whose custom fields carry both an irclickid and a gclid or fbc are the sales two channels claim, and Craft is the only place that sees both.
Craft → Impact · what breaks
Why this join usually fails — Craft → Impact
- 01
The Impact click identifier, irclickid never reaches Craft
Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.
- 02
Every install is bespoke
There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.
- 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.
- 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.
Craft → Impact · the fix
What working looks like — Craft → Impact
The Impact click identifier, irclickid on every order
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
Craft CMS's own records are the reference, not either dashboard.
Craft → Impact · architecture
How Craft and Impact actually connect
- 1
Craft CMS holds the truth
Craft installs are bespoke by nature. Establish how this particular build models a completed order before assuming anything transfers from another Craft site.
- 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
The identifier is the bridge
The Impact click identifier, irclickid, captured at the visit and carried into the Craft Commerce order.
- 4
The event source decides reliability
Fire from the event listener in PHP rather than a Twig template, which may be cached.
- 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.
Craft → Impact · normal or broken
Working vs. broken, side by side — Craft → Impact
Normal, not a fault
The Impact click identifier, irclickid present on the order
Visible on the record itself in Craft CMS, not merely captured somewhere on the site.
Sent from the Craft Commerce order-complete event
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
Impact's count and Craft CMS's records agree within a few percent over a closed window.
Actually broken
The Impact click identifier, irclickid missing on most records
Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look.
Sent from the browser
There is no standard Craft setup, so an approach that worked on another Craft site may have nothing to attach to on this one. Read the build before quoting.
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
The dashboard shows a number and no one has compared it to Craft CMS.
Craft → Impact · diagnose
Diagnostic order — Craft → Impact
- 01
Count orders carrying the Impact click identifier, irclickid
- 02
Follow one real conversion end to end
- 03
Read how this specific build handles order completion
Assumptions carried from another Craft project are the main source of wasted time here.
- 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.
- 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.
Craft → Impact · prove
How it gets proven — Craft → Impact
Against Craft CMS's own records, not against either platform's dashboard.
Source of truth
Craft Commerce's order records in your own database, filtered to completed.
- The Impact click identifier, irclickid confirmed present on a live order.
- Conversions in Impact reconciled per order ID against your own order records, with the ad-platform overlap measured and stated.
- Order custom field confirmed populated on an order placed as an anonymous visitor through cache.
Craft → Impact · free audit
What we check in the free audit
- Count orders carrying the Impact click identifier, irclickid
- Follow one real conversion end to end
- Read how this specific build handles order completion
- Count orders that appear in both your ad platforms and Impact
- Read the match rate, not the success message
Checked against
Craft Commerce's order records in your own database, filtered to completed.
Free30 minutesNo obligation
Craft → Impact · when not to buy
When you don't need this — Craft → Impact
- If Impact already reports conversions that reconcile against Craft CMS's records within a few percent, this join is working and there is nothing to buy.
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Impact click identifier, irclickid.
- If the original agency is still engaged, the fastest path is usually specifying the field and having them add the hook.
- 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.
Craft → Impact · what we deliver
What gets built — Craft → Impact
Identifier capture into Craft
Capture the identifier and store it as a custom field on the order through a Craft event listener, server-side.
Event source: the Craft Commerce order-complete event
Fire from the event listener in PHP rather than a Twig template, which may be cached.
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
Refunds and cancelled orders are recorded against the order.
Written guarantee
95%+ tracking accuracy
Measured against Craft Commerce's order records in your own database, filtered to completed.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Craft → Impact questions, answered
Store the irclickid on the order at checkout, then post the conversion from a queued job on order completion with the order reference as the order ID and the net total.
Send the reversal or modification with the same order ID before the action locks. Confirm the locking period configured in your Impact account.
Almost always because the Impact click identifier, irclickid never reached the Craft Commerce order. Craft's template caching and static caching plugins both serve stored output, and because every build is custom, where the capture code lives differs per site. There is no standard place to look. Measure coverage before debugging the dispatch.
Impact appends irclickid to the landing URL when a partner sends traffic. It identifies which partner earns the commission, so losing it does not degrade a report — it means a partner who genuinely drove the sale goes unpaid, and eventually raises a dispute you cannot answer.
The Craft Commerce order-complete event. Fire from the event listener in PHP rather than a Twig template, which may be cached.
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.
More on Craft → Impact
- Craft → Google AdsConnecting Craft CMS to Google Ads
- Craft → MetaConnecting Craft CMS to Meta Conversions API
- Craft → GA4Connecting Craft CMS to GA4
RELATED GUIDES
Where Craft → Impact fits in the rest of your tracking
- Statamic → ImpactConnecting Statamic to Impact.com
- Sitecore → ImpactConnecting Sitecore to Impact.com
- Sanity → ImpactConnecting Sanity to Impact.com
- Craft → AwinConnecting Craft CMS to Awin
- Craft → PartnerStackConnecting Craft CMS to PartnerStack
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Concrete CMS → ImpactConnecting Concrete CMS to Impact.com
- Umbraco → ImpactConnecting Umbraco to Impact.com
Free · 30 min
Get Craft and Impact joined properly
Free30 minutesNo obligation
