Reports

Create tracking URLs

Last updated: November 19, 2019

Applies to:

Marketing Hub  Professional, Enterprise
Legacy Marketing Hub Basic

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

Create a tracking URL when you want to track traffic from a campaign to a page with the HubSpot tracking code. Examples include email blasts, PPC campaigns, and banner ads.

A tracking URL is a normal URL with parameters attached to it. When visitors come to your site from a tracking URL, HubSpot saves the information in those parameters.

Learn how to analyze traffic data from tracking URLs in the traffic analytics tool.

Please note: marketing Reporting permissions are required to create a tracking URL. 

Create a tracking URL

  • In your HubSpot account, navigate to Reports > Analytics Tools.
  • Click Tracking URL Builder.
  • 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. You can also select Other campaigns and enter a Custom UTM Source.
    • 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, navigate to Reports > Analytics Tools.
  • Click Tracking URL Builder.
  • 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

Please note: due to recent changes in AdWords ads, if you're using HubSpot tracking URLs in Google AdWords ads, please be sure to use the full link, not the shortened link. Insert the full link into the HubSpot Full Tracking URL into the Final destination field in AdWords ads. The Final destination field must contain the same domain as the landing page URL. For example, if your ad's landing page is http://offers.yoursite.com/demo the Final destination field must contain yoursite.com.

  • Link the URL in your content.