Connecting Ecwid to Awin
Ecwid is a store that embeds into someone else's website, which makes it the only ecommerce platform here where the checkout runs inside a widget on a page you do not fully control. 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 Ecwid order 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
Ecwid and Awin: awc from the host page, coupons from the order
Awin's awc reference arrives on the host page where the Ecwid store is embedded, and a thank-you page tag never fires because confirmation is a widget view. Copy awc into an Ecwid order extra field at checkout, then post the sale server-to-server from the paid-order webhook with the order number as reference and value net of shipping and tax.
Awin's MasterTag runs on the host page where the Ecwid store is embedded, and that is where the awc reference arrives on the landing URL. The sale happens inside the widget. A confirmation tag placed on a separate thank-you page never fires, because Ecwid's order confirmation is a view inside the widget, not a page of your site. Server-to-server posting from the order is the reliable route.
Copy the awc value into an Ecwid order extra field at checkout so it sits on the order record, then post the sale to Awin from Ecwid's paid-order webhook with the order number as the order reference and the value net of shipping and tax. Ecwid's refund and cancellation statuses on the same order let you decline transactions during Awin's approval period instead of discovering them at payout.
Voucher-code interception is easier to see here than on most platforms, because the Ecwid order records the discount coupon used. Compare coupons on Awin-tracked orders against the coupons your voucher publishers promote, and against orders that also carry a paid-media click identifier. Where a voucher click lands seconds before checkout on an order your ads started, Awin's dedup flag lets you decline commission instead of paying twice.
Ecwid → Awin · what breaks
Why this join usually fails — Ecwid → Awin
- 01
The Awin click reference, awc never reaches Ecwid
The store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags.
- 02
A checkout inside somebody else's page
The host site and the store widget are two contexts. Tags installed on the host page routinely miss purchases entirely, and nobody notices because the site looks like it is working.
- 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.
Ecwid → Awin · the fix
What working looks like — Ecwid → Awin
The Awin click reference, awc on every order
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
Ecwid → Awin · architecture
How Ecwid and Awin actually connect
- 1
Ecwid holds the truth
Ecwid is authoritative for the order. Because it embeds into WordPress, Wix, Squarespace and plain HTML sites alike, the surrounding page's own analytics frequently has no idea a purchase happened.
- 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 Ecwid order.
- 4
The event source decides reliability
Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.
- 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.
Ecwid → Awin · normal or broken
Working vs. broken, side by side — Ecwid → Awin
Normal, not a fault
The Awin click reference, awc present on the order
Sent from the Ecwid order webhook
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
The store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags.
Sent from the browser
The host site and the store widget are two contexts. Tags installed on the host page routinely miss purchases entirely, and nobody notices because the site looks like it is working.
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
Ecwid → Awin · diagnose
Diagnostic order — Ecwid → Awin
- 01
Count orders carrying the Awin click reference, awc
- 02
Follow one real conversion end to end
- 03
Open a recent Ecwid order and check its extra fields
If the identifier is not on the order, the host page captured it and never passed it across the embed boundary.
- 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.
Ecwid → Awin · prove
How it gets proven — Ecwid → Awin
Source of truth
Ecwid's order list for the same window, in the store's currency and timezone.
- The Awin click reference, awc confirmed present on a live order.
- Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
- A purchase completed through the embedded widget, confirmed to report with the identifier attached.
Ecwid → Awin · free audit
What we check in the free audit
- Count orders carrying the Awin click reference, awc
- Follow one real conversion end to end
- Open a recent Ecwid order and check its extra fields
- Segment publishers by type and check where the click happened in the journey
- Read the match rate, not the success message
Checked against
Ecwid's order list for the same window, in the store's currency and timezone.
Free30 minutesNo obligation
Ecwid → Awin · when not to buy
When you don't need this — Ecwid → Awin
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Awin click reference, awc.
- If your Ecwid store is a small add-on to a content site with modest volume, the native integrations may be adequate — measure the order volume before commissioning anything.
- 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.
Ecwid → Awin · what we deliver
What gets built — Ecwid → Awin
Identifier capture into Ecwid
Capture the click identifier on the host page and pass it into the Ecwid order through its order-extra-fields or the storefront API, so it lands on the order record rather than staying on the page.
Event source: the Ecwid order webhook
Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.
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
Ecwid records refunds and cancellations against the original order, so reversals can be wired properly.
Written guarantee
95%+ tracking accuracy
Measured against Ecwid's order list for the same window, in the store's currency and timezone.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Ecwid → Awin questions, answered
The confirmation tag expects a thank-you page, but Ecwid confirms orders inside the widget. Store the awc on the order and post sales server-to-server from the order webhook.
Compare the coupon code on each Ecwid order with the voucher publisher credited, and check whether the order also carried a paid-ad click identifier.
Almost always because the Awin click reference, awc never reached the Ecwid order. The store runs inside an embedded widget, so the host page's scripts and the widget's own context are not the same environment. An identifier captured by the host page does not automatically reach the order, and a purchase inside the widget does not automatically fire the host page's tags. 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.
The Ecwid order webhook. Send from your server when Ecwid reports the order paid. The widget's own client-side events depend on the host page still being open and the embed having initialized correctly, neither of which is guaranteed.
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 Ecwid → Awin
- Ecwid → Google AdsConnecting Ecwid to Google Ads
- Ecwid → MetaConnecting Ecwid to Meta Conversions API
- Ecwid → GA4Connecting Ecwid to GA4
RELATED GUIDES
Where Ecwid → Awin fits in the rest of your tracking
- SureCart → AwinConnecting SureCart to Awin
- WooCommerce → AwinConnecting WooCommerce to Awin
- Swell → AwinConnecting Swell to Awin
- Ecwid → ImpactConnecting Ecwid to Impact.com
- Ecwid → PartnerStackConnecting Ecwid to PartnerStack
- Jewelry ecommerceConversion tracking for jewelry ecommerce, measured in settled orders
- BigCommerce → AwinConnecting BigCommerce to Awin
- EDD → AwinConnecting Easy Digital Downloads to Awin
Free · 30 min
Get Ecwid and Awin joined properly
Free30 minutesNo obligation
