Affiliates Contact Form 7


You can install the Affiliates Contact Form 7 plugin directly from your WordPress dashboard. The integration works with the free Affiliates and provides enhanced functionality when used with Affiliates Pro or Affiliates Enterprise.

Affiliates plugin integration for Contact Form 7. Collect form data & track submissions. Lead tracking, sales, support …


This plugin integrates Affiliates, Affiliates Pro and Affiliates Enterprise with Contact Form 7.

The applications of this integration range from simply recording and tracking form submission data to paying affiliated partners commissions on leads or successful purchases. Clients can be traced back to the referring affiliate, team members can be notified when new form submissions have been received (notifications require Affiliates Pro or Affiliates Enterprise).

Base Amount Referral Example

Contact Form Referral Example

Contact Form 7 forms are used to gather data which is stored in the form of referrals.

Base Amount Form Example

Data storage & referrals

This integration stores data from submitted forms and tracks form submissions to the referring affiliate.

Submissions through one or more forms handled by Contact Form 7 can generate referrals. This integration can generate referrals for all forms, restrict it to selected forms or exclude certain forms.

Form data

All submitted form data is stored and can be viewed on the administrative back end along with each referral. All or parts of submitted form data can be provided in notification emails to affiliates. Form data can also be displayed on the front through referral stats. This allows to display selected pieces of information for example to affiliates or sales team members.
Flexible referral amounts and currencies

Contact Form 7 forms can generate referrals with fixed amounts, rate-based amounts or based on custom methods. Forms can provide fixed referral amount or base amounts for rate calculations. Multi-currency systems are supported by Affiliates Pro and forms can provide different currencies in each submission.

Two special form fields are recognized, if a field is named affiliate_id or affiliate_login, the referrer is taken from the field’s value. This allows to build forms where the submitter can choose the referring affiliate by ID or by the affiliate’s user login. Example fields:

Select the affiliate ID
[select affiliate_id "" "1" "2" "3" "4" "5" "6"]

... or select the affiliate by user login
[select affiliate_login "" "joe" "sue" "linda"]


Notifications require Affiliates Pro or Affiliates Enterprise.

Upon each form submission, this integration can send notification emails to the site admin as well as to the referring affiliate. Affiliate notification emails for affiliates are customizable and can include information provided in submitted forms.

Application Suggestions

Lead tracking

Sales leads who submit a form managed through Affiliates Pro for Contact Form 7 can be tracked down to the referring affiliate, so that commissions for offline or online sales can be credited to the affiliate. If desired, commissions that are determined upon form submission will appear as referral amounts along with each referral.


Sales and support teams can use Affiliates Pro for Contact Form 7 to delegate sales and support requests to the right team members. Create an affiliate account for each team member and use affiliate links to direct requests to each.


Install these, set up your forms, set up your own affiliate program and start gathering new leads!


1. Install and activate the Contact Form 7 plugin, set up your forms.
2. Install and activate the Affiliates plugin. Use the default settings or configure it to your needs.
3. Install and activate the Affiliates Contact Form 7 Integration plugin.
4. A new Contact Form 7 menu item will appear under the Affiliates menu in WordPress. Follow the instructions to set up the integration there.

Note that you can install the plugins from your WordPress installation directly: use the Add new option found in the Plugins menu.

You can also upload and extract them in your site’s /wp-content/plugins/ directory or use the Upload option.

If you upgrade from Affiliates to Affiliates Pro or Affiliates Enterprise, the default referral rate should be set automatically under Affiliates > Settings.

Although this is done automatically, it is advised to double-check that the settings have been adjusted correctly.

Frequently Asked Questions

What features does this integration provide and where can I set it up?

The plugin adds a new menu item *Affiliates > Contact Form 7* where details on the supported features and setup instructions are provided.

How can I set the amount that affiliates earn on each sale?

If you are using Affiliates, go to Affiliates > Contact Form 7 and set the rate and amount options there.

If you are using Affiliates Pro or Affiliates Enterprise, also check the rate settings under Affiliates > Settings.

Example: If you want to give an affiliate 10% of each net total sales amount, set the rate to 0.1.


  1. Settings
  2. More settings
  3. Referral recorded for a contact form submission
  4. Referral recorded for a form with fixed amount
  5. Referral recorded for a form that provides a base amount used to calculate the referral amount
  6. Example form with a hidden fixed amount
  7. Example form with a base-amount field

127 Responses to Affiliates Contact Form 7

  1. Stef November 25, 2019 at 7:26 am #

    Dear Kento and Antonio,

    I´m using affilates with the extention for Contact Form 7.
    I installed this plugin to know from which referral the form was filled in.
    (there is no sales margin or whatever, but i would like to see where the person that filled in the form came from).
    I see that I can find that in the Affiliates > referrals tab, but is there also a way i can see the referral in the same email that the applicant sent?

    And i Also noticed that the plugin time cant be changed? It´s standard UCT? I live in UCT +1 (and changed it in general settings of wordpress)

    Thank you for helping.

    • Kento November 25, 2019 at 2:23 pm #

      Hi Stef,

      On the admin side, you can see where referrals come from under Affiliates > Traffic. The stats there can show how incoming and destination URLs relate to referrals.

      As for emails sent by applicants to you, you could look for their IP in the traffic section I mentioned, but that might or might not lead to a corresponding result. I don’t see any sure way to relate those.

      Although I suppose that you are asking specifically for how an affiliate manager can see this information, in case this is also interesting: For affiliates, the traffic section in the dashboard provides some information on how URLs relate to referrals, see for example You have an overview on those on and the shortcodes – using the templates it’s possible to customize the information shown.


      • Stef November 25, 2019 at 2:45 pm #

        Hi Kento,

        Sorry, I think I asked the wrong way.
        I was wondering if there is way that I can see the referral in the filled-in contact Form email. (without logging in into the back end of my site).

        For example:

        Client came through an affiliation link ( and filled in a contact form.
        Is there a way that i can see my afilliate partner (where it came from) in that same email? (from the form).

        Many thanks in advance.

        • Kento December 2, 2019 at 7:45 am #

          Hi Stef,

          I am not quite sure if this would work, but we have some shortcodes that can be used to display referrer data, such as [referrer], referrer_id] and [referrer_user] (you will find those documented in the Shortcodes section of the documentation). If there is a way to have the shortcodes rendered within the email, then it could work but it seems that CF7 doesn’t render shortcodes by default, so you would need to use something like this plugin along with the approach.


Leave a Reply to kento Click here to cancel reply.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account