Skip to main content
Checkout Extensibility → AwinIntegration guide

Connecting Shopify Checkout Extensibility to Awin

Shopify replaced checkout.liquid with a sandboxed extension model, and the thank-you page — where nearly every store put its conversion tracking — was the last thing to go. 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 Shopify 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

Awin tracking on Shopify after the thank-you page lost scripts

Awin's tag and fall-back pixel in additional scripts no longer run, so sales go unreported. Use a custom pixel on checkout completed reading the awc cookie, which fires only when the page renders and consent allows, or better, save awc in a cart attribute and post the sale server-to-server from the order webhook. Keep the MasterTag on theme pages.

The classic Awin setup on Shopify was the conversion tag and fall-back image pixel pasted into additional scripts, reading the awc cookie on the thank-you page. That page no longer runs custom code, so the tag never loads and the sale is simply never reported. Publishers often notice first, as missing commissions on orders their own traffic data says they drove.

There are two supported paths. A custom pixel subscribed to checkout completed can read the order details and the awc cookie through the pixel API's cookie access, then post to Awin, but it fires only when the thank-you page renders and consent allows, so expect gaps. The stronger path is server-to-server: save awc into a cart attribute on the storefront, then post the sale from the order webhook. Check whether Awin's Shopify app now does one of these for you, and which one.

Keep the Awin MasterTag on theme pages; it handles landing-side cookie setting and was unaffected by the checkout change. Once the new path is live, compare Awin-reported sales against Shopify orders carrying an awc value for the weeks either side of your cutover. The gap is also the list of sales you may owe publishers a review on.

Checkout Extensibility → Awin · what breaks

Why this join usually fails — Checkout Extensibility → Awin

  1. 01

    The Awin click reference, awc never reaches Checkout Extensibility

    Custom scripts can no longer run on checkout or the thank-you page. Client-side conversion tags placed there are not blocked — they are simply never loaded.

  2. 02

    Conversion tracking that silently stopped

    This is the single most common live tracking failure on Shopify right now. Nothing errors. The tag simply never runs, revenue keeps arriving, and the ad platform reports a collapse that looks like a market problem.

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

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

Checkout Extensibility → Awin · the fix

What working looks like — Checkout Extensibility → 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

    Shopify Checkout Extensibility's own records are the reference, not either dashboard.

Checkout Extensibility → Awin · architecture

How Checkout Extensibility and Awin actually connect

  1. 1

    Shopify Checkout Extensibility holds the truth

    Additional Scripts and script tags on the order status page are gone. Any tracking that lived there has already stopped firing or will, and the store owner usually finds out from a revenue report rather than an error.

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

    The identifier is the bridge

    The Awin click reference, awc, captured at the visit and carried into the Shopify order.

  4. 4

    The event source decides reliability

    Send orders from the webhook at the paid total. Web Pixels are the supported browser-side path and they run sandboxed, with no access to the page.

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

Checkout Extensibility → Awin · normal or broken

Working vs. broken, side by side — Checkout Extensibility → Awin

Normal, not a fault

  • The Awin click reference, awc present on the order

    Visible on the record itself in Shopify Checkout Extensibility, not merely captured somewhere on the site.

  • Sent from the Shopify order webhook, server-side

  • 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

    Awin's count and Shopify Checkout Extensibility's records agree within a few percent over a closed window.

Actually broken

  • The Awin click reference, awc missing on most records

    Custom scripts can no longer run on checkout or the thank-you page. Client-side conversion tags placed there are not blocked — they are simply never loaded.

  • Sent from the browser

    This is the single most common live tracking failure on Shopify right now. Nothing errors. The tag simply never runs, revenue keeps arriving, and the ad platform reports a collapse that looks like a market problem.

  • 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

    The dashboard shows a number and no one has compared it to Shopify Checkout Extensibility.

Checkout Extensibility → Awin · diagnose

Diagnostic order — Checkout Extensibility → Awin

  1. 01

    Count orders carrying the Awin click reference, awc

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare Shopify order count against platform-reported conversions for the last 60 days

    A sharp divergence with no change in actual sales is the signature. Check what was in Additional Scripts before assuming anything else.

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

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

Checkout Extensibility → Awin · prove

How it gets proven — Checkout Extensibility → Awin

Against Shopify Checkout Extensibility's own records, not against either platform's dashboard.

Source of truth

Shopify orders by creation date, read from the order record rather than from anything rendered on a page.

  • 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.
  • Orders reconciled from the webhook against imported conversions for a settled week, with no dependence on anything rendered at checkout.

Checkout Extensibility → 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
  • Compare Shopify order count against platform-reported conversions for the last 60 days
  • Segment publishers by type and check where the click happened in the journey
  • Read the match rate, not the success message

Checked against

Shopify orders by creation date, read from the order record rather than from anything rendered on a page.

Get my free conversion tracking audit

Free30 minutesNo obligation

Checkout Extensibility → Awin · when not to buy

When you don't need this — Checkout Extensibility → Awin

  • If Awin already reports conversions that reconcile against Shopify Checkout Extensibility'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 Awin click reference, awc.
  • If you were already sending conversions server-side from the order webhook, this migration does not affect your tracking at all — which is exactly why server-side was worth doing before it was forced.
  • 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.

Checkout Extensibility → Awin · what we deliver

What gets built — Checkout Extensibility → Awin

  • Identifier capture into Checkout Extensibility

    Capture the identifier on your own storefront, persist it into cart or order attributes, and send the conversion server-side from the order webhook rather than from any page.

  • Event source: the Shopify order webhook, server-side

    Send orders from the webhook at the paid total. Web Pixels are the supported browser-side path and they run sandboxed, with no access to the page.

  • 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

    Refunds and cancellations reverse from their own webhooks.

Written guarantee

95%+ tracking accuracy

Measured against Shopify orders by creation date, read from the order record rather than from anything rendered on a page.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Checkout Extensibility → Awin questions, answered

If the Awin conversion tag lived in additional scripts on the thank-you page, it stopped loading under Checkout Extensibility. Move to a custom pixel or, better, server-to-server posting from the order.

Free · 30 min

Get Checkout Extensibility and Awin joined properly

Free30 minutesNo obligation