Skip to main content
Divi → AwinIntegration guide

Connecting Divi to Awin

Divi is a theme and builder combined, which means the site's structure and its forms are the same product — and a theme update can change both at once. 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 Divi form submission 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

Divi lead forms to Awin: carry awc into the submission

Awin can run a cost-per-lead programme for a Divi site, joined on the awc value. The MasterTag in Theme Options Integration stores it in a cookie; read it into a form field for a server-to-server lead post, using the submission ID as order reference. Divi loads no thank-you page, so redirect or post server-side, and decline CRM-disqualified leads.

Awin is built around retail orders, but it runs cost-per-lead programmes too, and a Divi site taking leads can sit in one. The join is the awc value on the landing URL. Awin's MasterTag in Theme Options Integration stores it in a cookie; for a server-to-server lead post you also need it written into the form submission, which means reading the cookie into a field before Divi sends. Use the submission's unique ID as the order reference so a resubmitted form does not commission twice.

The usual break is the confirmation. Divi's Contact Form swaps in a success message over AJAX and never loads a thank-you page, so a conversion tag that waits for a confirmation page never fires and the publisher sees zero leads. Either point the module's redirect option at a real thank-you URL or post the lead server-side. If the Divi site runs WooCommerce instead, check whether Awin's WooCommerce plugin already handles order posting before building your own.

On lead programmes the voucher-code problem turns into an incentive problem: cashback and reward publishers send people who fill forms for the payout. Your approval period is the control. Decline leads your CRM disqualifies before they validate, and record the reason so a publisher query can be answered with something better than a shrug.

Divi → Awin · what breaks

Why this join usually fails — Divi → Awin

  1. 01

    The Awin click reference, awc never reaches Divi

    Custom code added to theme templates is vulnerable to updates, and Divi's contact module submits over AJAX.

  2. 02

    Tracking removed by a theme update

    Code placed directly into theme files disappears when the theme updates. The site keeps working, the forms keep submitting, and the conversions stop arriving with no error anywhere.

  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.

Divi → Awin · the fix

What working looks like — Divi → Awin

  • The Awin click reference, awc on every submission

  • 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

Divi → Awin · architecture

How Divi and Awin actually connect

  1. 1

    Divi holds the truth

    Because the builder is the theme, tracking added into templates can be lost or duplicated by a theme update in ways a plugin-based setup would not experience.

  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 Divi form submission.

  4. 4

    The event source decides reliability

    Send qualified outcomes per form, with the identifier passed through a hidden field.

  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.

Divi → Awin · normal or broken

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

Normal, not a fault

  • The Awin click reference, awc present on the submission

  • Sent from your CRM record

  • 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

    Custom code added to theme templates is vulnerable to updates, and Divi's contact module submits over AJAX.

  • Sent from the browser

    Code placed directly into theme files disappears when the theme updates. The site keeps working, the forms keep submitting, and the conversions stop arriving with no error anywhere.

  • 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

Divi → Awin · diagnose

Diagnostic order — Divi → Awin

  1. 01

    Count submissions carrying the Awin click reference, awc

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether tracking code sits in theme files or in a child theme

    If it is in the parent theme, it is one update away from vanishing.

  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.

Divi → Awin · prove

How it gets proven — Divi → Awin

Source of truth

Your CRM record, joined to the submission.

  • The Awin click reference, awc confirmed present on a live submission.
  • Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
  • Qualified outcomes reconciled per form against imported conversions, with code placement verified update-safe.

Divi → Awin · free audit

What we check in the free audit

  • Count submissions carrying the Awin click reference, awc
  • Follow one real conversion end to end
  • Check whether tracking code sits in theme files or in a child theme
  • Segment publishers by type and check where the click happened in the journey
  • Read the match rate, not the success message

Checked against

Your CRM record, joined to the submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Divi → Awin · when not to buy

When you don't need this — Divi → Awin

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the Awin click reference, awc.
  • Sites using a separate form plugin and a tag manager are insulated from the theme-update risk.
  • 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.

Divi → Awin · what we deliver

What gets built — Divi → Awin

  • Identifier capture into Divi

    Use a child theme or the builder's supported code integration areas rather than editing templates directly, and bind to the AJAX submission.

  • Event source: your CRM record

    Send qualified outcomes per form, with the identifier passed through a hidden field.

  • 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

    Disqualified submissions reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM record, joined to the submission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Divi → Awin questions, answered

Capture the awc value from the landing URL, pass it with the submission, and post the lead server-side with the submission ID as the order reference. Do not rely on a thank-you page, because Divi's form does not load one by default.

Free · 30 min

Get Divi and Awin joined properly

Free30 minutesNo obligation