Ninja Forms
Add AffiliateWP’s Add Referral action to a Ninja Forms form, and each submission from a visitor an affiliate sent records a referral for them.
A Referral Action for Any Ninja Form
AffiliateWP adds an Add Referral action to Ninja Forms. Put it on a form, and each submission from a visitor who came through an affiliate’s link records a referral for that affiliate.
Point the action’s Total Field at a field or a calculation, and the referral is worked out on that amount. To build your affiliate signup form in Ninja Forms, add the Affiliate Forms for Ninja Forms addon.
How It Works
Turn on Ninja Forms
Check Ninja Forms under AffiliateWP › Settings › Integrations.
Add the Add Referral action
In the form’s Emails & Actions tab, add Add Referral, then map its fields with merge tags.
Referred submissions earn
A visitor who arrived through an affiliate’s link submits the form, and AffiliateWP records the referral.
What You Can Set
Total Field
Map a field or a calculation, and the referral is your rate applied to that amount.
Referral Type
Record each form’s referrals as a Sale, an Opt-In or a Lead.
Customer Email
Map the email field, and AffiliateWP rejects a referral when the affiliate submits their own form.
Deleted submissions
Trash or delete a submission, and AffiliateWP rejects its unpaid referral. Restore it, and the referral is unpaid again.
Affiliate registration form Plus
The Affiliate Forms for Ninja Forms addon adds an Affiliate Registration action, so one Ninja Form can sign up your affiliates.
New affiliates on a mailing list Plus
On that signup form, a Ninja Forms email addon such as Mailchimp can subscribe each new affiliate.
What You Need
Plan
Every AffiliateWP plan. The Affiliate Forms for Ninja Forms addon needs Plus or higher.
Works with
Ninja Forms 3.0 or later, on the same WordPress site as AffiliateWP.
Keep in mind
Referrals are marked unpaid as soon as the form is submitted. AffiliateWP doesn’t wait for a Ninja Forms payment to complete.
Set Up Ninja Forms
The setup guide covers the Add Referral action, flat and percentage amounts, and mapping fields with merge tags.
Related Integrations
Frequently Asked Questions
With a flat referral rate, the flat amount. With a percentage rate, the referral is recorded at 0.00, so map a Total Field to pay a set amount.
Map the Total Field to a field holding 25.00, and a 20% rate pays 5.00. A calculation can stand in for the field.
Yes, with the Affiliate Forms for Ninja Forms addon on Plus or higher. You pick one form as your affiliate registration form under AffiliateWP › Settings › Ninja Forms.
No. Submitting a form from the Ninja Forms preview doesn’t record a referral.
On the Referrals screen. The Reference column shows the submission ID and links to it.