Integration with Gravity Forms
Many organizations use Gravity Forms to collect leads on their WordPress websites and then send those leads to Salesforce.
If you are using AdIntel to measure marketing campaign performance in Salesforce, it is important to capture not only the lead information (Name, Email, Company, etc.) but also the visitor’s attribution information, including:
- Landing URL
- Referral URL
This article explains how to capture these values in Gravity Forms and include them when creating Salesforce Lead records.
Overview
The solution consists of three simple steps:
- Add the AdIntel JavaScript library to your website.
- Add hidden fields to your Gravity Form.
- Include the captured values when creating the Salesforce Lead.
Once implemented, every Lead created in Salesforce will also contain the visitor’s:
- Original landing page
- Referral source
This information can later be used for marketing attribution and campaign analysis.
Step 1: Add the AdIntel JavaScript Library
Add the following JavaScript immediately before the closing
