How do I create UTM/Tracking URLs in HubSpot?

Your step-by-step guide on creating tracking URLs in HubSpot.

Tracking URLs help you measure the effectiveness of your marketing campaigns by providing information to HubSpot when visitors access your site through the URL.

For more information on when to use UTM/tracking URLs, click here.

Create a tracking URL in HubSpot

  • In your HubSpot account, click the settings settings icon in the main navigation bar.
  • In the left sidebar menu, navigate to Tracking & Analytics > Tracking URLs.
  • In the upper right, click Create tracking URL
  • In the right panel, set up your tracking URL.
     
    • Enter a valid URL for your page, and select the appropriate protocol (http:// or https://). This can be the URL of any page with the HubSpot tracking code on it. 
    • Click the UTM campaign dropdown menu and select the HubSpot campaign you want visits to this tracking URL to be bucketed under in your analytics tools.

Please note: a campaign name is required when creating tracking a URL because the campaign name is used in several reports in HubSpot. Visits to the tracking URL will be attributed to this campaign in the sources report and will count towards the analytics for the campaign in the campaigns tool. 

  • Click the Source dropdown menu and select the source for your tracking URL. This will affect where the visit will be categorized in your analytics, including the traffic analytics tool.
      • Email marketing: select if you're using the link in a marketing email.
      • Paid search: select if you're using the link in a paid search campaign.
      • Organic social: select if you're using the link in a social media post.
      • Paid social: select if you're using the link in a paid social media campaign.
      • Other campaigns: select and enter a Custom UTM Source. This is best used when you want to give a custom source (e.g., FB_Campaign_1).
    • The UTM Medium field is optional. Enter the name of your banner ad, social post, email, etc. For sources bucketed under Other campaigns, the medium is visible when you drill down into a specific campaign. This is typically the last visible parameter in your tracking URLs that you build in HubSpot.
    • The UTM term field is optional. It can be used in systems like AdWords and Google Analytics to track the keywords in a pay-per-click ad.
    • The UTM content field is optional. Enter a name for an ad if you have multiple on your page and want to differentiate between them. 
  • Click Create. If you want to create another tracking URL immediately after, click Create and add another.

Add a tracking URL to your content

  • In your HubSpot account, click the settings settings icon in the main navigation bar.
  • In the left sidebar menu, navigate to Tracking & Analytics > Tracking URLs.
  • Hover over your tracking URL, click the Actions dropdown menu, and select Copy tracking URL. You can also copy the shortened link by clicking Copy short URL
  • Add the the URL to your content.