Help Center
Getting Attributer to work with Salesforce Account Engagement Form Handlers
Salesforce Account Engagement (formerly Pardot) gives you two ways to get form submissions into your account. You can build the form inside Account Engagement and embed it on your website (an Account Engagement Form), or you can build the form somewhere else and have it send its data to Account Engagement (a Form Handler).
This article covers the second option. You’re likely using a Form Handler if your forms are built in your website’s CMS, a form plugin (like Gravity Forms or Contact Form 7) or custom HTML, and the submissions end up in Account Engagement. If you’re using Account Engagement Forms instead, follow our guide for Pardot forms.
Getting Attributer to work with a Form Handler takes 3 parts:
- Creating custom prospect fields in Account Engagement to store the Attributer data
- Adding those fields to your Form Handler
- Adding hidden fields to the form on your website and making sure they are sent to the Form Handler
Step 1: Create custom prospect fields
If you’ve already created the Attributer prospect fields (for example, because you followed our guide for Pardot forms), skip to Step 2.
In your Account Engagement account, select the ‘Pardot Settings’ (or ‘Account Engagement Settings’) menu option. In the left hand menu, open the ‘Object and Field Configuration’ dropdown and select ‘Prospect Fields’.

Select the ‘Add Custom Field’ button and create the following 6 custom fields, with the Type set to Text:
- Name = Channel, Custom Field ID = channel
- Name = Channel Drilldown 1, Custom Field ID = channeldrilldown1
- Name = Channel Drilldown 2, Custom Field ID = channeldrilldown2
- Name = Channel Drilldown 3, Custom Field ID = channeldrilldown3
- Name = Landing Page, Custom Field ID = landingpage
- Name = Landing Page Group, Custom Field ID = landingpagegroup

Ultimately, you should end up with custom fields that look like this:

Step 2: Add the fields to your Form Handler
A Form Handler only saves the fields you have added to it. Any other data your website sends is ignored, so this step is essential.
In Account Engagement, select the ‘Content’ menu option and then select ‘Form Handlers’. Open the Form Handler your website form sends its data to and select ‘Edit’.
In the Form Fields section, select ‘Add New Field’ and add the following 6 fields:
| External Field Name | Prospect Field | Data Format |
|---|---|---|
| channel | Channel | Text |
| channeldrilldown1 | Channel Drilldown 1 | Text |
| channeldrilldown2 | Channel Drilldown 2 | Text |
| channeldrilldown3 | Channel Drilldown 3 | Text |
| landingpage | Landing Page | Text |
| landingpagegroup | Landing Page Group | Text |
The External Field Name is the name your website form uses for that field when it sends the data. We suggest using the names above so they’re easy to match up in the next step, but you can use different names as long as they match exactly.
Important: External Field Names are case-sensitive. ‘channel’ and ‘Channel’ are treated as two different fields, so if the capitalisation doesn’t match exactly, the data won’t be saved. Leave these fields as not required.
Save the Form Handler. If your website has more than one form, repeat this for each Form Handler.
Step 3: Add hidden fields to your website form
Next, you need to add 6 hidden fields to the form on your website. Attributer looks for hidden fields with specific values and swaps in the real data when someone visits your site.
If your form is written in HTML, add the following code inside the form. The name of each field should match the External Field Name you set in Step 2:
<input type="hidden" id="[attributer-channel]" name="channel" value="[channel]">
<input type="hidden" id="[attributer-channeldrilldown1]" name="channeldrilldown1" value="[channeldrilldown1]">
<input type="hidden" id="[attributer-channeldrilldown2]" name="channeldrilldown2" value="[channeldrilldown2]">
<input type="hidden" id="[attributer-channeldrilldown3]" name="channeldrilldown3" value="[channeldrilldown3]">
<input type="hidden" id="[attributer-landingpage]" name="landingpage" value="[landingpage]">
<input type="hidden" id="[attributer-landingpagegroup]" name="landingpagegroup" value="[landingpagegroup]">If your form is built with a form builder or your website’s CMS, add 6 hidden fields using its form editor and set the default value of each one as follows:
- Channel: [channel]
- Channel Drilldown 1: [channeldrilldown1]
- Channel Drilldown 2: [channeldrilldown2]
- Channel Drilldown 3: [channeldrilldown3]
- Landing Page: [landingpage]
- Landing Page Group: [landingpagegroup]
The square brackets are important. Attributer looks for fields with these exact values, so make sure they are typed exactly as shown. The field names your form builder gives these fields don’t matter to Attributer, as long as the values are set correctly.
For more detail on how Attributer finds hidden fields, see Adding hidden fields to a HTML form.
Step 4: Make sure the hidden fields are sent to the Form Handler
How you do this depends on how your form is connected to Account Engagement:
- The form posts straight to the Form Handler URL (the form’s action is your Form Handler’s URL). The hidden fields are sent automatically. Just make sure the
nameof each hidden field matches the External Field Name in your Form Handler exactly. - The form submits to your website first, and your CMS, plugin or an integration tool passes the data on to the Form Handler. You’ll need to update that connection so it also sends the 6 new hidden fields, using the External Field Names from Step 2. Your website developer or agency should be able to do this.
Step 5: Test it
Open a new incognito or private browsing window and visit the page your form is on with some test UTM parameters added to the end of the URL, for example:
https://yourwebsite.com/contact/?utm_source=test&utm_medium=paidsearch&utm_campaign=testcampaignSubmit the form, then open the prospect record in Account Engagement. You should see the Attributer fields filled in (in this example, Channel should be ‘Paid search’ and Channel Drilldown 2 should be ‘testcampaign’).
If the fields are blank, check that:
- The hidden field values on your website form are exactly as shown in Step 3, including the square brackets
- The External Field Names in your Form Handler match the names your website form sends, including capital letters
- The new hidden fields are being passed through to the Form Handler (see Step 4)
- The Attributer code is installed on the page your form is on
A final note
We understand editing code can be a bit scary, so if you need help then we are happy to jump on a video call with you and walk you through it. Feel free to contact us here.
Can't find the answer you need? Contact us!
Our team are available to answer any questions you have