🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Affiliate Program Premium Add-on Setup Guide

Updated 10 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What You Get
  3. Requirements
  4. Quick Start
  5. Step 1: Sign Affiliates Up
  6. Step 2: Keep Accounts Safe
  7. Step 3: Map the Fields
  8. Step 4: Credit a Commission From a Paid Entry
  9. Refunds
  10. When FluentAffiliate Approves an Affiliate
  11. Fill Fields and Messages From the Logged-In Affiliate
  12. Delayed Payments and Conditional Logic
  13. Questions People Ask
  14. Do I need the paid version of FluentAffiliate?
  15. Is it safe to put a signup form on a public page?
  16. Does it send data to another service?

Video walkthrough

Gravity Forms FluentAffiliate: Affiliate Sign-Up, Approval, Commissions and Referral Links
Watch the Affiliate Program add-on sign up FluentAffiliate partners who wait for approval, then show each partner their own referral link. Watch on YouTube

Affiliate Program joins Gravity Forms and the free FluentAffiliate plugin. FluentAffiliate gives your WordPress site an affiliate program: affiliates, referral links, visit tracking, commissions and payouts. Its free version does not know Gravity Forms. This add-on adds that connection. A Gravity Forms form can sign people up as affiliates, a paid Gravity Forms entry can earn the referring affiliate a commission, and an affiliate can see their own link and earnings inside a form or a message.

A Gravity Forms Become an affiliate form with name, email, PayPal email, website and a box for how the person will promote the site
A normal Gravity Forms form becomes the affiliate application.

What You Get

  • A feed called Affiliate signup. When the form is sent, or when its payment is completed, it creates the affiliate for the logged-in user, or for a safe new account made from the email in the form. It never takes over an existing account.
  • Mapping to the payment email, the website, the note and your own custom affiliate fields. The status follows the FluentAffiliate approval setting, or you choose pending or active.
  • A feed called Commission from a paid entry. When a Gravity Forms payment is completed, the referring affiliate gets one commission, found from the FluentAffiliate tracking cookie or from a code field in the form. The amount is a percentage, a fixed sum or the affiliate’s own rate.
  • Refunds: a full refund rejects a commission that is still open, a partial refund lowers it in proportion, and a commission that is already paid out is left alone with a note.
  • A feed called When FluentAffiliate approves an affiliate, which adds an entry to a form, sends that form’s notifications, or both.
  • A feed called Fill fields from the logged-in affiliate and a set of merge tags with the referral link, code, id, status, earnings and the commission of an entry.
  • Conditional logic, entry notes, and a clear notice when FluentAffiliate is missing or too old.

Requirements

You need Gravity Forms 2.9 or newer, WordPress 6.5 or newer, PHP 7.4 or newer and the free FluentAffiliate plugin, version 1.6.5 or newer. Nothing is sent to an outside service. Only the license check talks to the GravityExtra site.

Quick Start

  1. Install and activate the add-on and the free FluentAffiliate plugin, then activate your license key under Forms, Settings, Affiliate Program.
  2. Build a form with a name, an email and the details you want, for example the PayPal email and a box for how the person will promote you.
  3. Open the settings of the form, choose Affiliate Program and add a feed. Keep the action Affiliate signup.
  4. Map the email, the name and the other fields, and save.
  5. Send a test entry. Open the entry: the notes say which user and which affiliate were made, and with which status.

Step 1: Sign Affiliates Up

The feed asks Who becomes the affiliate. The default is the logged-in user, or a new account for a visitor. You can also choose always a new account, or only the logged-in user, in which case visitors are skipped and the entry gets a note. A new account is made from the email in the form, with a username built from the name or the email, and a strong random password. The WordPress e-mail that lets the person set a password is off by default and can be ticked in the feed.

The status of the new affiliate is your choice. The default asks FluentAffiliate: if its registration setting says that affiliates need approval, the new affiliate is pending, otherwise active. You can force pending, or active at once. The feed also respects the registration switch of FluentAffiliate: when affiliate registration is switched off there, the feed does nothing and writes an error note. A box lets you ignore that switch for a form that you run yourself.

Step 2: Keep Accounts Safe

A form that creates accounts is a public door, so the add-on is careful. It never takes over an existing account. If a visitor types the email of a user who already exists, the default is to refuse: nothing is created, nothing about that account changes, and the entry gets an error note. The second choice uses that account, and then it only receives an affiliate profile. Its name, password, role and website stay as they are, and it always starts as pending so that an administrator approves it. An account that can manage the site or other people’s content, such as an administrator or an editor, is refused even then. That person logs in and applies as themselves.

The role of a new account is the WordPress default role unless you pick another one, and the list holds only safe roles. Administrator, Editor and every role that can write posts, upload files, edit users or manage the site are never offered and never given, even if a feed was set up that way before.

Step 3: Map the Fields

Only the email is needed for a visitor. Everything else is optional, and a value that is not mapped is never written. You can map the first name, the last name, the username, the payment email where payouts go, the bank details when FluentAffiliate pays by bank transfer, the website and a note. The note is a good place for the answer to how will you promote us. Emails must be valid, the website must start with http or https, and long text is cut to a safe length.

Custom affiliate fields store extra values with the affiliate, for example a team size, a country or a social account. Type a key with lower case letters, digits and underscores, and pick the form field. Up to ten values of up to 500 characters are saved in the custom fields of the FluentAffiliate record.

Step 4: Credit a Commission From a Paid Entry

Add a second feed to the form that takes the payment and choose the action Commission from a paid entry. The feed waits until the payment is completed. That includes payments that finish later, for example through a webhook of the payment add-on, and it works with product, option, shipping and total fields. Until then the entry only gets a note that the commission will be credited when the payment is completed. When the payment is completed the feed runs once, and only once per entry: completing the payment again never makes a second commission.

To find the referring affiliate the feed first reads the FluentAffiliate tracking cookie. FluentAffiliate sets that cookie when a visitor arrives through an affiliate link, and the add-on keeps the affiliate and the visit with the entry when the form is sent. That is why a payment that is completed hours later, with no cookie in that request, still credits the right person. You can also add a field for an affiliate id or referral code, for sales that come from a coupon or a typed code. The order is your choice: cookie first, field first, only the cookie, or only the field.

The Affiliate Program feed settings in Gravity Forms for the commission action: where the referring affiliate comes from, what the commission is worked out on, the rate, the status and the refund rule
The commission feed: the referring affiliate, the amount, the status and what a refund does.

The commission is worked out on the order: the product lines and their options minus discounts. Shipping and tax follow the FluentAffiliate settings, which by default leave them out. You can also work it out on one field, a product, a total or a number field, for example when only one line of the form earns commission. The commission itself is the affiliate’s own rate in FluentAffiliate, which can be a custom rate, a group rate or the site rate, or a percentage or a fixed amount that you set in the feed. A rate that is not a valid number never produces a commission. A note on the entry says why.

Case What happens
Affiliate is pending or inactive No commission, a note on the entry. Only active affiliates earn.
Affiliate buys through their own link No commission. FluentAffiliate does not pay self referrals.
No affiliate found Nothing happens and no error is written. It simply was not a referred sale.
The buyer has no email No commission, a note. FluentAffiliate needs an email for the customer.
The code in the field matches nobody The code is ignored, a note says so.

The new commission is pending by default, so that you approve it in FluentAffiliate, or unpaid if you want it approved at once and ready for a payout. The add-on uses the FluentAffiliate commission pipeline, so its own actions, e-mails and reports see the commission like any other. In FluentAffiliate the commission links back to the Gravity Forms entry.

A Gravity Forms entry for a starter plan order with notes that say the payment was completed and that a commission was credited to an affiliate with the status pending
Every entry says what the add-on did, so a commission is never a mystery.

Refunds

When a Gravity Forms payment is refunded the add-on follows the refund rule of the feed. A full refund rejects the commission while it is still pending or unpaid, and FluentAffiliate recounts the earnings of the affiliate. A partial refund lowers the commission in proportion: refund half of the payment and half of the commission goes. A commission that has already been paid out is never changed. The entry gets a note that tells you to reverse it in FluentAffiliate, where you have the payout records. If you prefer to decide by hand, choose the option to ignore refunds.

When FluentAffiliate Approves an Affiliate

Add a feed with the action When FluentAffiliate approves an affiliate to any form. Each time an affiliate becomes active, the feed can add an entry to that form, send the notifications of that form, or both. The entry can hold the name, email, payment email, website, affiliate id, referral link, referral code, status and date. This is how you build a welcome e-mail with the referral link in it, a log of approved partners for your team, or an alert in a chat tool through another add-on. Notifications get a new event called FluentAffiliate: affiliate approved on forms that have such a feed.

An affiliate who is made active by a signup feed on the very same form does not start the event feed of that form, so a form never loops. Event feeds of other forms still run, and an affiliate who is already active is not announced again.

Fill Fields and Messages From the Logged-In Affiliate

A feed with the action Fill fields from the logged-in affiliate maps the referral link, the affiliate id, the status, the earnings and the earnings as a number to fields of the form. The values are filled when the form is shown and filled again on the server when the form is sent. A query string such as an affiliate id in the address can not override them, and a visitor who edits the hidden field before sending still gets the real value saved. A visitor and a user who is not an affiliate get empty values.

The merge tags work in confirmations, notifications, default values and HTML fields. The referral link and the referral code are given only to an active affiliate, because a pending one cannot earn yet.

Merge tag Value
{gfxaff_referral_url} The referral link of the affiliate
{gfxaff_referral_code} The code or id used in that link
{gfxaff_affiliate_id} The affiliate id
{gfxaff_affiliate_status} pending, active or inactive
{gfxaff_total_earnings}, {gfxaff_unpaid_earnings}, {gfxaff_paid_earnings} Earnings with the FluentAffiliate currency format
{gfxaff_earnings_number} Earnings as a plain number for a number field
{gfxaff_referrals}, {gfxaff_visits}, {gfxaff_payment_email} Counters and the payment email
{gfxaff_commission}, {gfxaff_commission_status}, {gfxaff_referring_affiliate_id} The commission of this entry and who earned it

The personal tags use the person the entry belongs to, or the logged-in user when there is no entry. They never read a value from the request. The tags appear in the merge tag list of the form editor. The affiliate, the user and the commission of an entry are also saved as entry meta and can be used as columns.

Delayed Payments and Conditional Logic

Every feed supports conditional logic, so one form can run a feed only when a box says yes, or only when no staff discount code was typed. Signup feeds support delayed payment: tick the option and the affiliate is created only when the payment of a fee is completed, which fits a paid partner program. The commission feed always waits for the payment.

Questions People Ask

Do I need the paid version of FluentAffiliate?

No. The add-on works with the free plugin from WordPress.org. It uses the affiliate, referral and customer records of FluentAffiliate and its own commission pipeline.

Is it safe to put a signup form on a public page?

Yes, if you keep the defaults: no takeover of existing accounts, no role that can write or manage, and approval by an administrator when FluentAffiliate asks for it.

Does it send data to another service?

No. Everything happens on your own site.

Affiliate Program is part of the GravityExtra collection of Gravity Forms add-ons. See the Gravity Forms Affiliate Program Premium Add-on for the details.

See the Affiliate Program add-on

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr