Reviewing the literature around web-to-lead forms, specifically this one, I’m looking into how to submit a “Campaign_ID” along with their information to associate that contact or lead record w/ a specific campaign. In my testing I’m getting new lead and contact entries, but the hidden field I’ve made I see now place to feed into salesforce on the step “3. Map form fields to Salesforce fields” Gravity Forms Salesforce Add-on feed step up page.
The typical web to lead line for this looks like (taken from above link): input type=hidden name=”Campaign_ID” value=”701A00000whatever”
I have a similar issue.
It appears in our site, we have two Salesforce addons installed:
Gravity Forms Salesforce API Add-On
Gravity Forms Salesforce Web to Lead Add-On
Both are created by Katz.
What I’ve noticed is that when a form is submitted, two records are created. I’m guessing that both addons each create an entry in Salesforce, however each addon has a different issues with the records they created.
With the Web to Lead addon, we can create a hidden field, and specify a campaign ID. The record will successfully be added to the campaign. However, the issue with this addon is that any field that allows multiselect is not correctly formatted for salesforce (going on memory here, but I think the values need to be separated by semicolons for salesforce to correctly identify each value. When separated by commas, salesforce sees the comma-separated values as a string, and truncates after so many characters).
With the API addon, the multiselect fields are not an issue. These values are sent to Salesforce correctly. However, there is no option to specify a Campaign ID with this addon, so while the data is collected in Salesforce correctly, it is not added to the desired campaign.
You must be logged in to reply to this topic.