Skip to main content
LearnDash → AwinIntegration guide

Connecting LearnDash to Awin

LearnDash runs courses inside WordPress, which means enrolment can happen through a purchase, a membership, a manual grant or a coupon — and only one of those is revenue. 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 LearnDash enrolment 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 commissions on LearnDash courses: set validation past refunds

To send LearnDash sales to Awin, capture the awc value in a first-party cookie, carry it into WooCommerce order meta or the Stripe or PayPal transaction record, and post the sale server-side with order reference, amount charged and commission group. Never post free, 100% coupon or granted enrollments, post bundles once, and set validation longer than your refund guarantee.

Course sellers use Awin to pay bloggers and review sites for enrollments, and each paid LearnDash enrollment becomes a commissionable sale. Capture the awc value from the landing URL into a first-party cookie, then carry it into the order: into WooCommerce order meta if WooCommerce runs the checkout, or into the transaction record if LearnDash's own Stripe or PayPal checkout does. Post the sale server-side with the order reference, the amount charged and the commission group for that course.

Three kinds of LearnDash enrollment must never post: free courses, enrollments made with a 100% coupon, and access granted by a group, membership or admin. Each looks like an enrollment and none earned a publisher anything. Bundles need a decision too. If a learner buys a course bundle, post one sale at the bundle price, not one per course unlocked.

Refunds are the timing problem. If your courses carry a 30-day money-back guarantee, set Awin's validation period longer than that, and decline the sale when a refund lands, ideally from the refund event in your payment system rather than by hand at month end. Coupon and voucher sites are the other leak: a learner who arrived from your own ads and searched for a LearnDash discount code should not cost you a commission. Use the dedup flag for those.

LearnDash → Awin · what breaks

Why this join usually fails — LearnDash → Awin

  1. 01

    The Awin click reference, awc never reaches LearnDash

    Checkout runs through whichever WooCommerce or membership plugin is attached, so the identifier has to survive an extra handoff.

  2. 02

    Granted access counted as sales

    An admin enrolling a cohort, a membership granting bundled access and a coupon at one hundred percent all produce enrolment records identical to a paid one. Counting them inflates revenue by whatever your free access volume is.

  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.

LearnDash → Awin · the fix

What working looks like — LearnDash → Awin

  • The Awin click reference, awc on every enrolment

  • 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

LearnDash → Awin · architecture

How LearnDash and Awin actually connect

  1. 1

    LearnDash holds the truth

    LearnDash enrols users from several sources. Course access granted by a membership plugin or by an admin is not a sale and must not be counted as one.

  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 LearnDash enrolment.

  4. 4

    The event source decides reliability

    Send paid enrolments at the amount charged. Free and granted enrolments carry no value.

  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.

LearnDash → Awin · normal or broken

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

Normal, not a fault

  • The Awin click reference, awc present on the enrolment

  • Sent from the payment record joined to the enrolment

  • 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 through whichever WooCommerce or membership plugin is attached, so the identifier has to survive an extra handoff.

  • Sent from the browser

    An admin enrolling a cohort, a membership granting bundled access and a coupon at one hundred percent all produce enrolment records identical to a paid one. Counting them inflates revenue by whatever your free access volume is.

  • 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

LearnDash → Awin · diagnose

Diagnostic order — LearnDash → Awin

  1. 01

    Count enrolments carrying the Awin click reference, awc

  2. 02

    Follow one real conversion end to end

  3. 03

    Split enrolments by how access was granted

    One field, and on established course sites the free share is usually larger than expected.

  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.

LearnDash → Awin · prove

How it gets proven — LearnDash → Awin

Source of truth

Paid enrolments from your payment system, held apart from free and granted access.

  • The Awin click reference, awc confirmed present on a live enrolment.
  • Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
  • Paid enrolments reconciled at charged amounts against imported conversions.

LearnDash → Awin · free audit

What we check in the free audit

  • Count enrolments carrying the Awin click reference, awc
  • Follow one real conversion end to end
  • Split enrolments by how access was granted
  • Segment publishers by type and check where the click happened in the journey
  • Read the match rate, not the success message

Checked against

Paid enrolments from your payment system, held apart from free and granted access.

Get my free conversion tracking audit

Free30 minutesNo obligation

LearnDash → Awin · when not to buy

When you don't need this — LearnDash → Awin

  • Measure identifier coverage yourself first — pull your last hundred enrolments and count how many carry the Awin click reference, awc.
  • If every enrolment is a direct purchase, one conversion action is correct and simpler.
  • 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.

LearnDash → Awin · what we deliver

What gets built — LearnDash → Awin

  • Identifier capture into LearnDash

    Capture on landing and pass through the purchase flow to the enrolment record.

  • Event source: the payment record joined to the enrolment

    Send paid enrolments at the amount charged. Free and granted enrolments carry no value.

  • 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 reverse and should revoke access.

Written guarantee

95%+ tracking accuracy

Measured against Paid enrolments from your payment system, held apart from free and granted access.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

LearnDash → Awin questions, answered

Store the awc click reference when the visitor lands, attach it to the order, and post the sale server-side when payment succeeds. Post only paid enrollments, not free or granted access.

Free · 30 min

Get LearnDash and Awin joined properly

Free30 minutesNo obligation