How can I install the Hubspot tracking code on my Webflow site?

Published on
September 22, 2023

To install the HubSpot tracking code on your Webflow site, you need to follow these steps:

  1. Sign up for a HubSpot account: If you don't have one already, go to HubSpot's website and sign up for an account. You will need this account to get access to the tracking code.

  2. Get the tracking code: Once you have created your HubSpot account, log in and navigate to the Reports section. From there, click on Tracking Code in the sidebar menu. This will take you to a page where you can generate your tracking code.

  3. Copy the tracking code: On the tracking code page, you will see a box containing your unique HubSpot tracking code. Click on the Copy button next to it to copy the code to your clipboard.

  4. Go to your Webflow site: Open your Webflow project and navigate to the Project settings page. You can access this page by clicking on the cog icon in the top right corner of the Designer.

  5. Navigate to the Custom Code section: In the Project settings page, scroll down until you find the Custom Code section. This section allows you to add custom code to your site.

  6. Paste the tracking code: In the Custom Code section, you will see three input fields: Head Code, Body Code, and Footer Code. Paste the HubSpot tracking code into the Head Code field.

  7. Save your changes: Once you have pasted the tracking code, click on the Save Changes button to save your changes.

  8. Publish your site: Finally, publish your Webflow site to ensure that the tracking code is implemented correctly. You can do this by clicking on the Publish button in the top right corner of the Designer.

After completing these steps, the HubSpot tracking code will be installed on your Webflow site. HubSpot will begin tracking visitor interactions on your website, allowing you to gather data and insights about your visitors and their behavior.

Additional Questions:

  1. How can I create a form in Webflow?
  2. What is the Webflow CMS and how can I use it?
  3. How can I optimize my Webflow site for SEO?