1. Understand what a Tracking URL is
A Tracking URL allows HubSpot to appropriately bucket the source of a website visit based on a "token" in the URL.
- Normal URL: http://www.hubspot.com/inbound-marketing-assessment-product/
- Tracking URL (token is bolded): http://www.hubspot.com/inbound-marketing-assessment-product/?utm_campaign=Lead%20Nurturing&utm_source=Fall%20Sales%20Campaign
When the visitor gets to your HubSpot tracked page via a Tracking URL, HubSpot's Sources tool sees the token and separates that traffic out so you can analyze how well the content containing the Tracking URL link performed.
The visits to the example Tracking URL above would appear in your Sources report under Other Campaigns > Lead Nurturing based on the parameters in the URL.
2. Create a Tracking URL for a landing page
A landing page is the most common page to use a tracking URL for, but you can create a Tracking URL for any page with HubSpot tracking code on it (site page or blog post).
Navigate to the Tracking URL Builder
From the HubSpot Marketing Dashboard, navigate to Reports > Reports Home.
Tracking URL Builder
Scroll down and click Tracking URL Builder in the side menu.
Create a New Tracking URL
You'll then be able to create a tracking URL. Select Create a New Tracking URL.
Landing Page URL
Add the URL of the page that you would like to link to. This can be the URL of any page with HubSpot tracking code on it, but for the purposes of this article, we will use a landing page URL.
Please note that the page you are linking to in the Tracking URL must have the HubSpot tracking code installed so our Sources tool detects the visit and can bucket the source of the visit appropriately using the token.
If your page is hosted over https, you can click the gray box with "http://" to toggle the protocol of the tracking URL to https.
Next, you'll want to choose the campaign name you want visits to this tracking URL to be bucketed under in the Sources Report. You can select an existing campaign from the dropdown menu, or you can create a new campaign by typing in the name of the new campaign and clicking "Create item" option in the dropdown menu.
Keep in mind that the campaign name will be visible to your website visitors in your URL.
The next step is to choose the source that you want visits to this tracking URL to be attributed to in the Sources Report. In the dropdown menu, you can select any of the default sources buckets, like Email or Paid Search.
Once you select the source, you will have more options to add detail to the tracking URL. Depending on which source you select, you will have different options. For example, if you select "Email Marketing", you have the option to enter the name of the email. Based on the source you select, you'll see where HubSpot will bucket traffic to your tracking URL in the Sources Report. For more information on how HubSpot categorizes visits in the Sources Report,check out this article.
Alternatively, you can create your own custom source which would show up under Other Campaigns in the Sources Report.
By toggling the "advanced view" at the bottom right, you can add additional parameters, like a Medium or Term
- Medium - This is an option field that identifies the type of marketing material you track. 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.
- Term - This is an option field that isn't used in HubSpot, but can be used in systems like AdWords and Google Analytics to track the keywords in a pay-per-click ad.
- Marketing Action Information - These are like post-its for your analytics. Scroll down and name your event, then select the date the campaign is launching. It will appear as a Marketing Event within the Sources Report, so you can see why there were spikes in traffic/leads on a certain day. This is completely hidden to your website visitors, so go nuts.
Once you have filled out all required fields and any desired optional fields, click Generate, and HubSpot will then generate a new tracking URL for you.
3. Implement your Tracking URL
Copy the Tracking URL that appears, and use that as the hyperlink in your email, your Google Adwords destination URL, your banner ad, etc. You can choose from the shortened link (perfect for social media) or the full tracking link for other purposes like Google Adwords. You can also generate another URL right from this screen by selecting Generate another.
4. Share your Tracking URL
Copy the link from your preferred version of the Tracking URL by clicking into the desired box in the Tracking URL builder page.
For example, if you had built a Tracking URL with the source of "LinkedIn" and medium "social" you could use this link a social media post to a LinkedIn Group.
5. Look at your results
Head over to your Report > Sources > Social Media and click on the LinkedIn to see how your tracking URLs are performing.
Scroll down the page to see how many visits/contacts/customers you're seeing from individual tracking URLs.
6. Manage your Tracking URLs
Once you've created some Tracking URLs, you can easily filter by campaign and campaign source on the main screen.
You can also sort by Create Date and search through your URLs using the search bar.
Remove a Tracking URL
To remove a Tracking URL, select the gear icon and Remove From List. This action will remove the the tracking URL from your dashboard list but, if you've used the tracking URL in previous campaigns, this tracking URL will still work as expected.