Skip to main content
MemberPress → AwinIntegration guide

Connecting MemberPress to Awin

MemberPress runs memberships inside WordPress, which means you own the database and inherit every WordPress problem alongside it. 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 MemberPress subscription 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

MemberPress to Awin: coupons, commission groups and refunds

Store the awc in user meta server-side at signup, since cached pages can render wrong values, and post the first paid transaction from the MemberPress hook with the transaction ID, post-coupon amount and a commission group per membership type. Decide coupon-site rules, skip renewals unless commissionable, and set approval longer than your refund guarantee.

MemberPress coupons are what voucher-code publishers on Awin compete for. A visitor arrives from your ad, reaches checkout, sees the coupon field, searches for a code, clicks a voucher site and comes back, and under last-click that publisher now owns the sale. Decide before launch whether coupon-site sales are commissionable, and use Awin's deduplication flag to decline sales your paid media already won.

The awc reference has to be stored server-side in user meta at signup, because WordPress caching means a value rendered into the checkout page may be someone else's or empty. Post the conversion from the MemberPress transaction hook with the transaction ID as the order reference, the amount actually charged after coupon, and a commission group per membership type, so an annual plan and a monthly plan can pay different rates.

Two membership-specific rules. Send only the first paid transaction, not renewals, unless your publisher terms say renewals are commissionable. And set Awin's approval period longer than your refund guarantee: if members can claim a 30-day refund, a sale validated on day 14 pays a publisher for money you return on day 25. Decline refunded transactions in Awin before the window closes.

MemberPress → Awin · what breaks

Why this join usually fails — MemberPress → Awin

  1. 01

    The Awin click reference, awc never reaches MemberPress

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  2. 02

    Caching between the visitor and your code

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  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.

MemberPress → Awin · the fix

What working looks like — MemberPress → Awin

  • The Awin click reference, awc on every membership

  • 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

MemberPress → Awin · architecture

How MemberPress and Awin actually connect

  1. 1

    MemberPress holds the truth

    Owning the database is the advantage — you can query it directly and reconcile without depending on anyone. The disadvantage is that caching, plugin conflicts and optimisation tools sit between your visitor and your code.

  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 MemberPress subscription.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  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.

MemberPress → Awin · normal or broken

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

Normal, not a fault

  • The Awin click reference, awc present on the membership

  • Sent from the MemberPress transaction-completed hook

  • 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

    Page caching serves a cached render to the visitor, so anything relying on a dynamically populated field can silently fail. The identifier has to be captured and stored as subscription metadata server-side, not carried in a rendered page.

  • Sent from the browser

    The same problem that breaks WooCommerce tracking. A cached page never runs your capture logic, and the failure is invisible because the site still works.

  • 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

MemberPress → Awin · diagnose

Diagnostic order — MemberPress → Awin

  1. 01

    Count memberships carrying the Awin click reference, awc

  2. 02

    Follow one real conversion end to end

  3. 03

    Submit a test signup through a fully cached page

    Not as a logged-in admin, which bypasses the cache. If the metadata is empty on the cached path, caching is your cause.

  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.

MemberPress → Awin · prove

How it gets proven — MemberPress → Awin

Source of truth

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

  • The Awin click reference, awc confirmed present on a live membership.
  • Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
  • Subscription metadata confirmed populated on a signup made as an anonymous visitor through cache.

MemberPress → Awin · free audit

What we check in the free audit

  • Count memberships carrying the Awin click reference, awc
  • Follow one real conversion end to end
  • Submit a test signup through a fully cached page
  • Segment publishers by type and check where the click happened in the journey
  • Read the match rate, not the success message

Checked against

MemberPress transactions and subscriptions in your own WordPress database, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

MemberPress → Awin · when not to buy

When you don't need this — MemberPress → Awin

  • Measure identifier coverage yourself first — pull your last hundred memberships and count how many carry the Awin click reference, awc.
  • If you run no caching layer and a single membership tier, a developer can wire this in an afternoon.
  • 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.

MemberPress → Awin · what we deliver

What gets built — MemberPress → Awin

  • Identifier capture into MemberPress

    Capture the identifier and write it to subscription metadata through a MemberPress or WordPress hook, so it lives in your database rather than in a page that might be cached.

  • Event source: the MemberPress transaction-completed hook

    Fire server-side from the PHP hook, which runs regardless of caching, and value recurring memberships over their expected life.

  • 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

    Cancellations and refunds are recorded against the subscription and should reduce the reported figure.

Written guarantee

95%+ tracking accuracy

Measured against MemberPress transactions and subscriptions in your own WordPress database, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

MemberPress → Awin questions, answered

Usually only on the first paid transaction. Commission renewals only if your publisher terms explicitly say so.

Free · 30 min

Get MemberPress and Awin joined properly

Free30 minutesNo obligation