CMS-Pages-Editor

Install Facebook event codes on your pages

Last updated: December 5, 2018

Applies to:

Marketing Hub
marketing-basic-pro-enterprise
Professional, Enterprise
Legacy Marketing Hub Basic

After installing the Facebook pixel, you can track specific actions visitors take on your site in Facebook by installing Facebook event codes on your pages.

  • In your HubSpot account, navigate to your landing pages or website pages.
  • In the dashboard, hover over the page and click Edit.
  • Click the Settings tab.
  • Click to expand Advanced Options.
  • In the Footer HTML section, paste the Facebook event code
  • In the upper right, click Publish or Update.

Please note: in most instances, Facebook event codes will conflict with other codes on your page when added to the Head HTML. In order to ensure the Facebook even code fires correctly, add it to the Footer HTML.

Was this article helpful?

If you still need help you can get answers from the , or to contact support.