Connecting Medusa to Impact.com
Medusa is a Node commerce engine you extend in your own codebase, which makes the conversion event a piece of application code — and therefore something that can be tested rather than hoped for. 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 Medusa 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
Medusa orders to Impact with irclickid on the cart
Store the irclickid in a cookie and Medusa cart metadata, then post through Impact's Conversions API at payment capture with the display ID and captured amount. Include line-level SKU, collection category, quantity and price so commission varies by category and excludes gift cards, plus the promotion code. Reduce actions for partial refunds before locking.
Impact needs the irclickid to know which partner to pay, and a Medusa build should treat it like any other attribution field: read it from the landing URL, keep it in a first-party cookie, and write it into cart metadata. At payment capture your subscriber posts the conversion through the Conversions API with the irclickid, the order's display ID and the captured amount, which is the figure partners should be paid on.
Because you write the subscriber, you can send item-level detail with the action: variant SKU, category from the product's collection, quantity and price per line. That lets commission rules pay different rates by category, and lets you exclude items such as gift cards from commission without manual edits. Send the promotion code from the cart too, so Impact can credit code-based partners.
Partial refunds are the case to build first. Medusa supports refunding part of an order, and the corresponding Impact action needs its amount reduced, not reversed outright. Hook the refund event to a job that modifies the action before the locking date. Exchanges deserve a decision as well, since an exchanged item is not a lost sale and should usually leave commission unchanged.
Medusa → Impact · what breaks
Why this join usually fails — Medusa → Impact
- 01
The Impact click identifier, irclickid never reaches Medusa
The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.
- 02
Firing on order placed rather than payment captured
They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.
- 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.
Medusa → Impact · the fix
What working looks like — Medusa → 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
Medusa → Impact · architecture
How Medusa and Impact actually connect
- 1
Medusa holds the truth
Because you own the event handlers, the conversion can fire from the payment-captured event specifically rather than from whatever the frontend happened to render.
- 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 Medusa order.
- 4
The event source decides reliability
Send orders at payment capture, at the paid total.
- 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.
Medusa → Impact · normal or broken
Working vs. broken, side by side — Medusa → Impact
Normal, not a fault
The Impact click identifier, irclickid present on the order
Sent from a Medusa subscriber on order payment capture
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
The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created.
Sent from the browser
They are different events and the gap between them contains every failed and pending payment. Order-placed is the easier hook and the wrong one.
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
Medusa → Impact · diagnose
Diagnostic order — Medusa → Impact
- 01
Count orders carrying the Impact click identifier, irclickid
- 02
Follow one real conversion end to end
- 03
Check which event your subscriber listens to
One line of code, and it decides whether you are counting orders or counting money.
- 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.
Medusa → Impact · prove
How it gets proven — Medusa → Impact
Source of truth
Medusa orders by payment status, emitted from your own subscriber code.
- 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.
- Payment-captured orders reconciled against imported conversions.
Medusa → 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
- Check which event your subscriber listens to
- Count orders that appear in both your ad platforms and Impact
- Read the match rate, not the success message
Checked against
Medusa orders by payment status, emitted from your own subscriber code.
Free30 minutesNo obligation
Medusa → Impact · when not to buy
When you don't need this — Medusa → Impact
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Impact click identifier, irclickid.
- If every payment method you accept is instant, the two events nearly coincide and the distinction costs more than it returns.
- 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.
Medusa → Impact · what we deliver
What gets built — Medusa → Impact
Identifier capture into Medusa
Write the identifier into cart metadata at first touch so it is carried onto the order automatically at completion.
Event source: a Medusa subscriber on order payment capture
Send orders at payment capture, at the paid total.
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 emit their own event and should reverse.
Written guarantee
95%+ tracking accuracy
Measured against Medusa orders by payment status, emitted from your own subscriber code.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Medusa → Impact questions, answered
Payment capture, with the irclickid from cart metadata and the order's display ID as the order ID.
Reduce the Impact action's amount for the refunded items before the locking date, rather than reversing the whole action.
Almost always because the Impact click identifier, irclickid never reached the Medusa order. The storefront is separate from the backend, and the identifier must be attached to the cart before the order is created. 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.
A Medusa subscriber on order payment capture. Send orders at payment capture, at the paid total.
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 Medusa → Impact
- Stripe → ImpactConnecting Stripe to Impact.com
- PayPal → ImpactConnecting PayPal to Impact.com
- Shopify → ImpactConnecting Shopify to Impact.com
RELATED GUIDES
Where Medusa → Impact fits in the rest of your tracking
- PrestaShop → ImpactConnecting PrestaShop to Impact.com
- Squarespace → ImpactConnecting Squarespace Commerce to Impact.com
- Checkout Extensibility → ImpactConnecting Shopify Checkout Extensibility to Impact.com
- Medusa → PartnerStackConnecting Medusa to PartnerStack
- Medusa → AwinConnecting Medusa to Awin
- Jewelry ecommerceConversion tracking for jewelry ecommerce, measured in settled orders
- nopCommerce → ImpactConnecting nopCommerce to Impact.com
- BigCommerce → ImpactConnecting BigCommerce to Impact.com
Free · 30 min
Get Medusa and Impact joined properly
Free30 minutesNo obligation
