NOTE: This article discusses the use case of utilizing ClickDimensions Form Captures with Gravity Forms (plugin for WordPress) and assumes you are already familiar with the functionality of both Form Captures and Gravity Forms. To learn out to set up a Form Capture normally, check out this article.
The process for setting up a Form Capture to use with an existing Gravity Form is mostly the same as setting up a Form Capture for any other third party form: a Form Capture needs to be created in CRM, Form Fields have to be associated with it, and your ClickDimensions tracking script needs to be added to the page hosting the form. The problem lies in the fact that a Gravity Form will not allow users to modify certain aspects of the HTML that are necessary for the Form Capture to work properly, such as the form action and field IDs.
- Learn how to use a Form Capture with Gravity Forms to track submissions in CRM
Gravity Forms Script
Begin by opening your Form Capture record and clicking the Gravity Forms button in the toolbar.
This will display a pop-up containing the script that should be added to the page hosting the Gravity Form alongside the tracking script. The script will automatically be modified to account for any Form Capture Fields associated with the Form Capture. The script will look like this by default:
and will look something like this as Form Capture Fields are added:
Update the Script to Match the Gravity Form
Once the script has been added to your page, manually remove the bold Form ID and Input ID placeholder text from the script and replace it with the corresponding values from the Gravity Form.
Once you have saved the changes to your page, you should be able to submit the Gravity Form and have it create Posted Forms and Posted Fields within CRM to track the submissions.
|Feature Added: 9.0|
|Feature Updated: 9.0|
|ClickDimensions Version Needed: 9.0|