How to track UTM parameters in Marketo

June 1, 2018 Melody Holcomb

You may be using UTM parameters to track your marketing campaigns, however, you aren’t capturing UTM values in Marketo. Let’s take a look at how to pass data to Marketo once a lead clicks a URL with defined UTM parameters.

How to track UTM parameters in Marketo to capture lead source

Step 1
The first thing you will need to do is create at least the three required UTM parameter fields in your Marketo database as custom (string) fields. You can find this under Admin ⇒ Field Management ⇒ New Custom Field.

Field Name Examples:

  1. UTM Campaign
  2. UTM Medium
  3. UTM Source

If you have a CRM, such as Salesforce, you will need to connect your tracking data to it in order to automate reporting. This way you can tell how much revenue is being generated from your various marketing campaigns. It’s best practice to create the new custom fields in SFDC first so they will automatically be created in Marketo and kept in sync with your CRM. You will want to make these fields visible to the Marketo Integration user by allowing read/edit access and review in Marketo to ensure they were properly synchronized.

Quick note: Remember to map these fields for lead to contact.

Your new fields are ready!


marketo utm builder


Step 2
Add the new fields to any Marketo lead capture form (2.0) where applicable and make sure to mark them as hidden fields.

Tip: Ensure you have the form pre-fill disabled at the field-level. When enabled, it pre-populates the current stored value in the lead’s record if they are cookied and previously filled out a lead capture form with UTM parameter tracking. This is incorrect and needs to be overwritten each time for accurate tracking to take place for your marketing campaigns. So the easy solution, is to disable.

track utm parameters

Step 3
In the form 2.0 editor there is an option to set the field value based on URL Parameter. The “Get Value From” section is a critical part in selecting how you will pull parameters, so here you need to select URL Parameter from the drop down menu. For “Parameter Name,” enter your URL parameter from your link (ex. utm_campaign).

marketo utm cookie

You will need to repeat this step for each hidden parameter field.


Step 4
Finally, create URLs with your URL builder tool and test your form. Fill out the form and validate your test lead record to see if the UTM parameter values pass to the fields as expected.

Once you’re able to track the UTM parameters in Marketo, you can begin analyzing your web traffic sources. This is a simple way to see what is driving site traffic and converting that traffic into leads, and in turn customers, so you can optimize and grow.


marketo utm builder


Previous Article
Steps to Operationalize and Streamline your Marketo Enablement
Steps to Operationalize and Streamline your Marketo Enablement

This infographic outlines the steps needed to operationalize your marketing engagement platform to get the ...

Next Video
Ipswitch Customer Experience - Rob Woodbury, GMP
Ipswitch Customer Experience - Rob Woodbury, GMP

Watch this video to learn how TPG helped Ipswitch to consolidate and migrate two Marketo and two Salesforce...