Skip to main content
SureCart → AwinIntegration guide

Connecting SureCart to Awin

SureCart runs checkout off-site while the store lives in WordPress, which removes the database load and introduces a handoff where the identifier can be lost. 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 SureCart 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 awc through SureCart checkout, with coupon sites in view

Pass Awin's awc into the SureCart checkout as metadata, then post the sale server-to-server from the paid-order webhook with the order number as order reference, paid amount, currency and a commission group. Use Awin's dedup flag when voucher sites overwrite the awc on coupon searches, and decline refunded transactions before validation. Post renewals only if your terms commission them.

Awin's awc value lands on your WordPress page, but the payment is processed by SureCart's platform, so the click reference has to be passed into the checkout as metadata and read back from the paid-order webhook. Post the sale to Awin server-to-server with the awc, the SureCart order number as the order reference, the paid amount and currency, and a commission group that separates one-time products from subscription first payments if you pay those differently.

SureCart coupons are where Awin's last-click model bites. If your store publishes codes, a shopper who reached checkout from a paid ad can leave to search for a code, click a voucher publisher's Awin link and come back, overwriting the awc on the way. The order then commissions a coupon site for a sale your ad produced. Use Awin's dedup flag to mark sales another channel already claimed, and consider restricting which codes voucher publishers may list.

Refunds have to flow back before the validation period ends. A SureCart refund webhook should trigger an amendment or decline of the matching Awin transaction by order reference; once the period passes and the sale validates, the commission is owed. Renewals of SureCart subscriptions should not be posted as new sales unless your programme terms say renewals commission.

SureCart → Awin · what breaks

Why this join usually fails — SureCart → Awin

  1. 01

    The Awin click reference, awc never reaches SureCart

    Checkout runs on SureCart's infrastructure, so the identifier must be passed at the handoff rather than read from the page.

  2. 02

    Order data living outside the site it belongs to

    Teams used to querying the WooCommerce orders table find nothing in the database, because the orders are not there. Reconciliation has to go through the API, and assuming otherwise wastes a day.

  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.

SureCart → Awin · the fix

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

SureCart → Awin · architecture

How SureCart and Awin actually connect

  1. 1

    SureCart holds the truth

    Because the cart is hosted rather than in WordPress, the order data lives outside your database and must be pulled rather than queried.

  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 SureCart order.

  4. 4

    The event source decides reliability

    Send completed orders at paid value, with subscriptions sending only the first payment.

  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.

SureCart → Awin · normal or broken

Working vs. broken, side by side — SureCart → Awin

Normal, not a fault

  • The Awin click reference, awc present on the order

  • Sent from the SureCart 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

    Checkout runs on SureCart's infrastructure, so the identifier must be passed at the handoff rather than read from the page.

  • Sent from the browser

    Teams used to querying the WooCommerce orders table find nothing in the database, because the orders are not there. Reconciliation has to go through the API, and assuming otherwise wastes a day.

  • 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

SureCart → Awin · diagnose

Diagnostic order — SureCart → Awin

  1. 01

    Count orders carrying the Awin click reference, awc

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm where the order record actually lives before designing reconciliation

    On hosted-checkout plugins it is not in WordPress, and that changes the whole approach.

  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.

SureCart → Awin · prove

How it gets proven — SureCart → Awin

Source of truth

SureCart orders by date, split into one-time and subscription purchases.

  • 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.
  • Completed orders reconciled from the API against imported conversions.

SureCart → 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
  • Confirm where the order record actually lives before designing reconciliation
  • Segment publishers by type and check where the click happened in the journey
  • Read the match rate, not the success message

Checked against

SureCart orders by date, split into one-time and subscription purchases.

Get my free conversion tracking audit

Free30 minutesNo obligation

SureCart → Awin · when not to buy

When you don't need this — SureCart → Awin

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Awin click reference, awc.
  • If you use a fully in-database cart, you can query directly and this indirection does not apply.
  • 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.

SureCart → Awin · what we deliver

What gets built — SureCart → Awin

  • Identifier capture into SureCart

    Capture on your WordPress site and pass the identifier into the checkout session as metadata.

  • Event source: the SureCart order webhook

    Send completed orders at paid value, with subscriptions sending only the first payment.

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

Written guarantee

95%+ tracking accuracy

Measured against SureCart orders by date, split into one-time and subscription purchases.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

SureCart → Awin questions, answered

Read awc on your WordPress page, add it to the SureCart checkout as metadata, and read it back from the paid-order webhook when posting the sale to Awin.

Free · 30 min

Get SureCart and Awin joined properly

Free30 minutesNo obligation