The next step is setting up Genius Referrals to work with WPForms. In this tutorial, we are using the plugin WPForms to capture referrals. Learn how to
install the plugin. Note that you can get the same results using similar plugins like Profile Builder or Contact Form 7.
- Log in to your Genius Referrals account.
- Click on the Integration section located on the left-side navigation menu.
- Next, click on the Code Snippets tab. Once on this tab, click on Conversion tracking.
- There are two options for conversion scripts: Platforms and Scenarios. In this tutorial, we will use the Scenarios option.
- Once you choose a conversion script, you'll be taken to a new screen to complete the installation process. Please follow the steps below.
Step 1. General informationScenarios: Select the scenario that fits your needs. In this guide, we are using
Scenario E016. After choosing a scenario, enter the WordPress URL where your WP Form is hosted, and click on the
GO button. The system will crawl the URL and find the list of fields and buttons available. To continue the steps, click on the
Next button.
Step 2. Generate the conversion scriptThis section allows you to match the fields found on your form with the system's required parameters. To track the referral, we only need the Email field. However, we also recommend adding the first and last names on the form. In the dropdowns that appear, select the matching form field. When all fields have been matched, the pairing is made on the fields.
Extra Fields: Optionally, you can add custom fields such as Phone Number, Address, etc. To add additional fields, click on the
Yes button. Next, select the new field from the dropdown, enter the title field you want, and click
Add. Repeat this process to add more fields.
Conversion Trigger Action. On the dropdown, select the button that triggers the conversion.
Cookie Expiration Time: Define the cookie expiration time by selecting the total of days or months. In this case, we leave it as it is. Once you're done, click
Generate Code Snippet button. Click
Next to go to step 3.
Step 3. Install the code snippet Copy the generated code snippet. The code snippet can be copied by clicking on the "copy code" action or manually highlighting the code snippet and right-clicking "copy." Once you have copied the code, please follow the instructions below to install the script in WordPress.