Skip to main content
Gravity Forms → AwinIntegration guide

Connecting Gravity Forms to Awin

Gravity Forms stores the entry in your own WordPress database, which makes it one of the easier sources to join correctly. 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 Gravity Forms entry 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

Gravity Forms leads on Awin: commissioning only valid entries

Use the Gravity Forms entry ID as Awin's order reference, capture awc in a hidden field with cookie fallback, and send from the submission hook with your lead commission group and a flat value. Skip spam-flagged entries and decline unqualified ones in Awin during validation. With Stripe or PayPal add-ons, send the paid amount after payment.

Awin is built around orders, and a Gravity Forms lead has no order number, so use the entry ID as the order reference. It is unique, permanent and visible in the entries list, which is what you need when a publisher queries a lead. Capture the awc value into a hidden field with the cookie fallback, send the lead from the submission hook with the commission group set to your lead group, and pass a fixed value if your program pays a flat amount per lead.

Lead programs attract a different abuse from voucher sites: incentivized and fabricated submissions. Gravity Forms gives you three filters before money moves. Skip entries the spam check flagged, decline entries that fail your own qualification during Awin's validation period, and watch for repeated email addresses across entry IDs. Declining in Awin is what stops the commission; deleting the entry in WordPress does not tell Awin anything.

If the form takes payment through the Gravity Forms Stripe or PayPal add-on, send the payment amount instead of a flat value and wait for the payment status to be paid. A form that redirects to a hosted payment page and back is exactly where the awc value goes missing if it lives only in a browser tag.

Gravity Forms → Awin · what breaks

Why this join usually fails — Gravity Forms → Awin

  1. 01

    The Awin click reference, awc never reaches Gravity Forms

    The identifier must be written into a hidden field with dynamic population enabled, and that only works if the parameter is on the URL when the page renders. Page caching serves a cached render to the visitor, so the dynamic population never runs — the same caching problem that breaks WooCommerce.

  2. 02

    Dynamic population fails silently under page caching

    The field is configured correctly and still arrives empty, because the visitor was served a cached page rendered for someone else. This is the most common Gravity Forms failure and it looks like nothing is wrong.

  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.

Gravity Forms → Awin · the fix

What working looks like — Gravity Forms → Awin

  • The Awin click reference, awc on every entry

  • 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

Gravity Forms → Awin · architecture

How Gravity Forms and Awin actually connect

  1. 1

    Gravity Forms holds the truth

    The entry lives in your database with every field value attached. You can query it, back it up and reconcile against it without depending on any third party, which is a real advantage over hosted form tools.

  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 Gravity Forms entry.

  4. 4

    The event source decides reliability

    Fire server-side from the PHP hook. This runs regardless of caching, AJAX submission, or what the confirmation page does.

  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.

Gravity Forms → Awin · normal or broken

Working vs. broken, side by side — Gravity Forms → Awin

Normal, not a fault

  • The Awin click reference, awc present on the entry

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

    The identifier must be written into a hidden field with dynamic population enabled, and that only works if the parameter is on the URL when the page renders. Page caching serves a cached render to the visitor, so the dynamic population never runs — the same caching problem that breaks WooCommerce.

  • Sent from the browser

    The field is configured correctly and still arrives empty, because the visitor was served a cached page rendered for someone else. This is the most common Gravity Forms failure and it looks like nothing is wrong.

  • 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

Gravity Forms → Awin · diagnose

Diagnostic order — Gravity Forms → Awin

  1. 01

    Count entrys carrying the Awin click reference, awc

  2. 02

    Follow one real conversion end to end

  3. 03

    Submit a test entry through a cached page

    Not through a logged-in admin session, which bypasses the cache. If the hidden field is empty on the cached path and populated on the admin 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.

Gravity Forms → Awin · prove

How it gets proven — Gravity Forms → Awin

Source of truth

The Gravity Forms entries list for the same window, or the wp_gf_entry table directly.

  • The Awin click reference, awc confirmed present on a live entry.
  • Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
  • Entry meta confirmed populated on a submission made from a fully cached page as an anonymous visitor.

Gravity Forms → Awin · free audit

What we check in the free audit

  • Count entrys carrying the Awin click reference, awc
  • Follow one real conversion end to end
  • Submit a test entry through a 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

The Gravity Forms entries list for the same window, or the wp_gf_entry table directly.

Get my free conversion tracking audit

Free30 minutesNo obligation

Gravity Forms → Awin · when not to buy

When you don't need this — Gravity Forms → Awin

  • Measure identifier coverage yourself first — pull your last hundred entrys and count how many carry the Awin click reference, awc.
  • If your site has no caching layer and one form, a developer can wire this in an afternoon. Worth trying before hiring anyone.
  • 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.

Gravity Forms → Awin · what we deliver

What gets built — Gravity Forms → Awin

  • Identifier capture into Gravity Forms

    Hidden field with 'allow field to be populated dynamically' enabled and a parameter name set, plus a cookie fallback via a gform filter so the identifier survives a visitor who browsed several pages before converting.

  • Event source: the gform_after_submission hook

    Fire server-side from the PHP hook. This runs regardless of caching, AJAX submission, or what the confirmation page does.

  • 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

    Nothing to reverse, though entries marked spam should be excluded from the send.

Written guarantee

95%+ tracking accuracy

Measured against The Gravity Forms entries list for the same window, or the wp_gf_entry table directly.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Gravity Forms → Awin questions, answered

The entry ID. It is unique and can be looked up in the entries list when a publisher queries the lead.

Free · 30 min

Get Gravity Forms and Awin joined properly

Free30 minutesNo obligation