How does tracking work in the Ads Add-on?

Last updated: November 10, 2017

Available For:

Marketing: Basic, Pro, Enterprise
Sales: N/A
Add-Ons: Ads

Learn how your Google Adwords and Facebook ads are tracked within HubSpot's Ads add-on.

Google AdWords

HubSpot uses a tracking template that is inserted on the account level in Google AdWords. Assuming that there is no tracking applied on the Campaign, Adgroup, or Ad level, our template will be used by Google to fill in the tracking parameters. You can learn more about this here.

Here’s the template we use:


The template incorporates utm_source, utm_medium, utm_campaign and utm_term so that all visits are correctly categorized in the Sources Report within HubSpot if a visit happens to be the visitor’s first interaction with you. This will bucket the visit under “Paid Search” as well as categorizing it by campaign and term.

The campaign parameter is set by custom parameters to correctly populate the utm_campaign on the Campaign level in Adwords. You can learn more about this here.

With our tracking template in place, you should be all set to go, but sometimes other tracking may interfere. There is a common scenario that may cause the tracking template to not work as expected:

  • A similar tracking template is used at a lower level than the account. For example, you may have a tracking template like this one set at the campaign level, which would overwrite our account-level template:

Learn how to create a Google AdWords campaign in the Ads tool here


HubSpot automatically adds URL parameters, in which the unique ID numbers will correspond to your ad_id or campaign_id, to each of your Facebook ads:

This happens as soon as your Facebook account is connected. The tool then updates multiple times a day thereafter to ensure new ads are being tracked. If these parameters are modified by the user, HubSpot will overwrite them; these parameters cannot be changed while the account is connected. Any other parameters, like “utm_campaign=New+Product+Promotion” will be left in place and function normally. 

You can also track your Facebook Lead ads in HubSpot. Find out more here


As of July 31, 2017, the LinkedIn Ads integration has been removed from HubSpot. Any LinkedIn campaigns originally created in HubSpot will continue to run in LinkedIn Ads. To manage your existing campaigns, navigate here to access the native LinkedIn Ads manager. You can learn more about this change here

Was this article helpful?