How do I install the HubSpot tracking code so I can see company website visits in Prospects?

Last updated: January 26, 2017

Available For:

Marketing: N/A
Sales: Professional

If you have a HubSpot Sales Professional account, you can install the HubSpot tracking code on your website and view company visits in the Prospects tool. 

Please note: if your website is hosted on the HubSpot Marketing platform's COS, you will not need to install the tracking code on your pages. Pages created on the HubSpot platform include the tracking code by default. Additionally, if you have already installed the HubSpot Marketing tracking code (from Reports > Reports Settings or the HubSpot Tracking Code for Wordpress plugin) on your external site, you will not need to reinstall the tracking code from Sales.

  To retrieve and install the tracking code follow the instructions below:
  • In your HubSpot Sales account, navigate to Sales Tools Prospects.
  • Click the Actions dropdown and select View tracking code.

  • Click Copy to copy the tracking code to your computer's clipboard.
  • Navigate to the site footer section for your external pages and paste your tracking code. This code should ideally be placed before the closing </body> tag of a page. Depending upon your website platform, you may be able to add the code globally to install it on all of your website pages or you may have to add it to the HTML of each of your pages. Contact your webmaster for additional setup assistance.

Was this article helpful?