If you use UTM parameter tracking in your advertising efforts, capturing that data can help you uncover real-time Sales insight. Discover the best performing marketing tactics with the highest ROI with Salesforce and Marketing Cloud Account Engagement. To get started, there are a handful of configurations that will need to occur in Marketing Cloud Account Engagement (fka Pardot) and on your website.
Creating a Form Handler for UTM Fields.
The first step to capturing UTM parameter data is creating the corresponding fields. These will need created in MCAE on the Prospect record as well as in Salesforce on the Lead record. You should have five fields created for UTM_Source, UTM_Medium, UTM_Campaign, UTM_Term, UTM_Content. If you use a multi-touch attribution model, consider duplicating, renaming and hiding a version of the fields that capture UTM data at the time the lead is first created. This allows your visible UTM fields to be overwritten with the most recent conversion, while preserving the initial conversion data.
Once your fields are created and synced correctly between MCAE and Salesforce, you can create your Form Handler. Add the UTM fields to your Form Handler as normal, with the data input set to text. Do not mark the fields as required in MCAE. If you do this and also have them required on your website, your form will not submit successfully. When your Form Handler is complete, copy the unique form handler code and match it to your site’s form tag.
For example, your form handler should look like the form below:
Parsing UTM Parameter Data Into Form Fields.
The form input fields hold your UTM parameter data and pass it along to Account Engagement. But, this data will be hidden on your webpage. Therefore, you’ll need to use JavaScript to dynamically scrape the data from the webpage url and place it in the appropriate form fields to send to Account Engagement. Insert the following JavaScript snippet as close to the closing </body> html markup tag as possible.
Once you’ve implemented the JavaScript snippet on your website, create a new hyperlink to your web page containing UTM parameters (Campaign URL Builder) and test the form to ensure data is mapping appropriately. As leads from your advertising campaigns start to convert, you will be able to follow (and attribute) the lead’s progression through the Sales funnel. Optimize ad performance based on real-time Sales insights and plan with trends surfaced offer time.