Last updated: March 11, 2021
|All products and plans|
Pixels from external ad networks work similarly to the HubSpot tracking code. Once installed on your site, the pixel detect visits to your pages. This data is the basis for creating ad audiences, which you can use to target your ads at specific visitors. Pixels also collect data that can help optimize ads and measure your ads' results.
After connecting your Facebook Ads, Google Ads, or LinkedIn Ads account to HubSpot, you can install a pixel from the external ad network, such as the Facebook pixel, Google conversion tracking tag, and LinkedIn Insight Tag, on all your HubSpot-hosted pages or external pages where your tracking code is installed. Once you install your pixel, you can create a website visitors audience directly in the HubSpot ads tool.
When you install a pixel according to the instructions below, the pixel code will fire along with the HubSpot tracking code. If you choose not to install a pixel, HubSpot's tracking code will still work and attribute contacts to your ads.
When you install your pixel through HubSpot, it will automatically be included on every page where you have the tracking code installed. If you want to limit the pixel to specific pages of your site, you'll need to include it manually in the page's header or footer HTML.
Please note: if you manually include the pixel code in your website's header or footer HTML, you should not install the pixel through HubSpot. Otherwise, the pixel will fire twice and may lead to inconsistent data.
The pixel will now be automatically added to all your HubSpot pages or external pages where your tracking code is installed.
Necessary disclosure: HubSpot will receive the pixel or tag identification from the selected ad network you selected as part of connecting your account to that network. HubSpot will automatically place the pixel or tag on your website pages where the HubSpot tracking code is present. This pixel or tag sends and tracks information about your website visitors back to the network, enabling conversion tracking and website audience creation.
If your company falls under the CCPA, or you want any of your California customers to be under Limited Data Use with Facebook, you should enable Limited Data Use for any of your ad accounts with a pixel that you've installed through HubSpot.
Please note: While these features are in HubSpot, your legal team is the best resource to give you compliance advice for your specific situation.
To enable Limited Data Use for an ad account:
Learn more about Facebook's Limited Data Use.
If your Facebook Ads account doesn't appear when you try to connect it to HubSpot, or if you see an error...
Connect your LinkedIn Ads account to HubSpot to manage and analyze your LinkedIn ads in HubSpot's ads tool. ...
After connecting your Facebook ad account or LinkedIn ad account to HubSpot, you can create lead ads and...