🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 22, 2026

How to Run an Affiliate Program With Gravity Forms and FluentAffiliate

GravityExtra
How to Run an Affiliate Program With Gravity Forms and FluentAffiliate

Selling through partners is one of the cheapest ways to grow. A blogger reviews your product, a customer shares a link, a small agency recommends you to its clients, and you pay a commission only when a sale happens. FluentAffiliate is a free WordPress plugin that runs such a program: it creates affiliates, gives each of them a referral link, tracks the visits and records the commissions. If your forms are built with Gravity Forms, there is one gap. The free FluentAffiliate does not talk to Gravity Forms. A Gravity Forms application does not make an affiliate, and a Gravity Forms order does not earn anyone a commission.

This guide shows how to close that gap with the Gravity Forms Affiliate Program Premium Add-on from GravityExtra. You will build an application form that creates affiliates safely, a checkout that credits the referring affiliate once the payment is completed, and a form that shows each affiliate their own link and earnings.

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 Need

  • Gravity Forms 2.9 or newer.
  • The free FluentAffiliate plugin, version 1.6.5 or newer, with its referral settings saved once.
  • The Affiliate Program add-on and its license key.
  • For commissions, a payment add-on for Gravity Forms that completes payments.

There is no outside service, no API key and no extra account. The add-on talks only to your own WordPress site.

Part 1: An Application Form That Makes Affiliates

  1. Build a form with a name, an email, a PayPal email, a website and a text box for how the person will promote you.
  2. Open the form settings, choose Affiliate Program and add a feed with the action Affiliate signup.
  3. Map the email, the first and last name, the payment email, the website and the note. Add a custom field if you want to keep something extra, such as a team size.
  4. Leave the status on the FluentAffiliate default. If you require approval there, new affiliates wait as pending.
  5. Send a test entry and open it. The notes say which user and which affiliate were made.

If the person is logged in, the add-on makes that user an affiliate and ignores the email in the form. If the person is a visitor, it makes a new account from the email with a random password. The person can set a password with the usual WordPress e-mail when you tick that option in the feed.

Why Safe Signup Matters

A public form that creates accounts is a tempting target. The most common mistake is to let a form match an existing user by email and then change that user. A visitor could type the email of your administrator and the form would act on that account. This add-on never does that. If the email already has an account, the default is to refuse and write a note. Even when you choose to use the existing account, only an affiliate profile is added: the name, password and role are untouched, the profile starts as pending, and an account that can manage the site or other people’s content is refused outright.

The same care goes for roles. You can choose the role of a new account, but the list holds only safe roles. Administrator, Editor and any role that can write posts or upload files are never offered and never given. That keeps a partner program from becoming a way to get into the dashboard.

Part 2: Credit a Commission When the Payment Is Completed

Now the money side. Take the form that sells your product, with its product, option, shipping and total fields and a payment add-on. Add a feed with the action Commission from a paid entry. You decide how the affiliate is found, what the commission is worked out on, the rate and the status of the new commission.

FluentAffiliate sets a tracking cookie when someone arrives through an affiliate link. When the form is sent, the add-on keeps the affiliate and the visit with the entry. Later, when the payment is completed, the commission is credited to that affiliate, even if the payment is confirmed by a webhook hours later when no cookie exists. You can add a field for an affiliate id or code as well, for sales that come from a coupon or a typed code, and choose which source wins.

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.
  • Amount: the order total of the product lines and options minus discounts, with shipping and tax following the FluentAffiliate settings, or one field you pick.
  • Rate: the affiliate’s own rate in FluentAffiliate, a percentage of the amount, or a fixed sum.
  • Status: pending, so that you approve it, or unpaid, which is ready for a payout.
  • Once only: one commission per entry, however many times the payment is reported.

Rules That Protect Your Budget

Only active affiliates earn. A pending or inactive affiliate gets no commission and the entry says why. An affiliate who buys through their own link earns nothing, which follows the FluentAffiliate self referral rule. A rate that is not a valid number never produces a commission. A code that matches nobody is ignored. When nobody referred the sale, nothing happens and no error is written.

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 Without Surprises

Refunds are where affiliate programs usually leak money. With this add-on, a full refund of the payment rejects the commission while it is still open. A partial refund lowers it in proportion, so refunding half of the sale takes half of the commission. If the commission has already been paid out, it is not touched, and a note on the entry reminds you to reverse it in FluentAffiliate, where the payout records are. You can also choose to ignore refunds and handle them by hand.

Part 3: Welcome New Affiliates Automatically

FluentAffiliate can approve an affiliate by hand or automatically. Add an event feed to a form and the add-on reacts every time an affiliate becomes active. It can add an entry to that form with the name, email, payment email, website, affiliate id, referral link, referral code and status, and it can send the notifications of that form. Notifications get a new event named FluentAffiliate: affiliate approved. A simple welcome notification can use the merge tags for the referral link and the code, so the new partner gets their link at the moment they are approved.

Part 4: Show Affiliates Their Own Link and Earnings

A feed with the action Fill fields from the logged-in affiliate fills fields with the referral link, the affiliate id, the status and the earnings of the person who is logged in. Use it for a support form that already knows who is asking, a payout request, or a short message that shows the link next to a field. The values are also filled on the server when the form is sent. A query string can not override them, and a hidden field changed in the browser is replaced by the real value.

The same values are available as merge tags in confirmations, notifications, default values and HTML fields. The referral link and code are shown only to active affiliates.

Merge tag What it shows
{gfxaff_referral_url} The affiliate referral link
{gfxaff_affiliate_status} pending, active or inactive
{gfxaff_total_earnings} Earnings with the site currency format
{gfxaff_commission} The commission earned by this entry

Conditional Logic and Delayed Payments

Every feed supports conditional logic. You can create an affiliate only when a box says yes, or credit a commission only when a staff code was not typed. A signup feed can also wait for a payment, which fits a partner program with a joining fee: the affiliate is created only when the fee is completed. Entry notes record what happened at every step.

Plan Your Commission Rules Before You Launch

Before you switch the feeds on, decide three things. First, what earns commission. If your form sells one plan, the order total is the natural base. If it sells a plan and a donation, or a product and a service you do not want to reward, pick the one field that should earn. Second, which rate applies. Most programs keep the site rate in FluentAffiliate and give a few top partners a custom rate, which the feed follows when you choose the affiliate’s own rate. A feed can also pay a fixed sum for a flat price product. Third, who approves what. Keep new commissions pending while you learn how refunds and fraud look on your site, and move to unpaid when you trust the flow.

Test the Whole Flow Before You Go Live

You can test every step without a real payment. Create a test affiliate, open your site through that affiliate’s link in a private window so the tracking cookie is set, send your order form, and complete the payment with your payment add-on in test mode. Open the entry. The notes tell you which affiliate was found and by which source, what the commission is worked out on, and the status of the commission. Then refund the test payment and watch the commission change. Repeat once with a code in the field and no cookie, and once as the affiliate yourself to see that a self referral is refused. When the notes read the way you expect, the setup is ready.

A Few Practical Setups

  • A partner application that makes a pending affiliate for your team to approve.
  • A paid partner program where the affiliate is created after the joining fee.
  • A checkout that credits the referring affiliate and rejects the commission on a refund.
  • A welcome e-mail with the referral link, sent at the moment of approval.
  • A support form that shows the logged-in affiliate their own link and earnings.

Questions People Ask

Do I need the paid FluentAffiliate?

No. The add-on works with the free plugin from WordPress.org. It uses its affiliates, referrals and customers and its own commission pipeline.

Does the add-on track visits?

No. FluentAffiliate tracks the visits and sets the cookie. The add-on reads them.

Will my existing affiliates be changed?

No. A user who already is an affiliate is left alone.

Does it send my data to another service?

No. Everything happens on your own site.

To see every option, read the Affiliate Program setup guide, or visit the Gravity Forms Affiliate Program Premium Add-on page.

See the Affiliate Program add-on

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