How To Use UTM Parameters to Capture Lead Source in Pardot

In:

You might already be using UTM parameters to track your marketing campaigns with Google Analytics, but are you capturing that information when a prospect is created in Pardot? Capturing this data is critical in order to assess the value of your marketing campaign and is a lead management best practice.

What are UTM Parameters?

UTM parameters are tags you add to a URL. Marketers use this to be able to track the traffic from a variety of sources such as email, social media, banner ads, etc. The tags can be sent back to Google Analytics and tracked which can be used to gauge the effectiveness of campaigns and identify the best ways to drive more visitors to your website.

hidden-fields-in-forms-3

Create New Fields

The first thing you need to do is create 2 new fields in Salesforce and in Pardot and map them. You don’t need to create a field for utm_source, we will use the standard source field in Pardot.

  1. utm_medium
  2. utm_campaign

hidden-fields-in-forms-2

Add The New Fields to Your Pardot Forms

Next, add the fields to your Pardot form. All 3 fields should be hidden and not marked as required.

Add Some Code to Your Landing Page Templates

This piece of code will parse the URL parameters and put the values into the hidden fields within your form. This code can be placed within your landing page template or within your form in the below form section.

Note: If you don’t use the field names outlined in this tutorial, you might need to update the JavaScript to include the correct field names.

Create URLs and Test

Now you’re ready to start creating URLs and testing your form. Use this handy URL builder to create your links and then fill out the form to see if the values go into Pardot.

Questions?

Send them to me via email, send me a tweet @jennamolby, or leave a comment

Related Posts

6 comment(s)
  • Lou

    03/08/2018 at 1:45 pm
    Reply

    Hi Jenna, would it be possible to do this to the form handler as well? Thanks!

    • Jenna Molby
      to Lou

      03/08/2018 at 3:43 pm
      Reply

      Hi Lou, Yes, It's possible. You would need to add the hidden fields to your form handler and add the javascript to your page. You might need to make some adjustments to the javascript to match the selectors you define within your form handler code. Cheers, Jenna

  • Sean

    02/08/2018 at 11:48 am
    Reply

    Hi Jenna, If I add the code to the below form section in Pardot, how can i keep that text hidden on my form? When i click "view online" i can see the html below my form. Thanks!

    • Jenna Molby
      to Sean

      02/08/2018 at 1:16 pm
      Reply

      Hi Sean, Make sure you wrap the JavaScript in script tags. I've updated the example to include this. Cheers, Jenna

  • Andy

    26/07/2018 at 5:51 am
    Reply

    Do you also leverage the Google Analytics connector to pull in this information, or do it only through the hidden form fields?

    • Jenna Molby
      to Andy

      26/07/2018 at 12:58 pm
      Reply

      Hi Andy, you can use both! The Google Analytics connector only captures the UTMs once, so you could use that for the first touch and this method for the last touch. Cheers, Jenna

Leave A Comment

Your email address will not be published. Required fields are marked *

About Me

Welcome to my blog, where I share, tips, tricks, thoughts and solutions that I learn in my daily life as a sales and marketing professional.

LEARN MORE

Categories
Most Commented
Popular Posts