How to check if HubSpot tracking code is installed on website?

If the HubSpot tracking code is installed, you will see a line of code that matches the code you typed in. The line of code will include your HubSpot account ID.

You can check if the HubSpot tracking code is installed on your website by opening a page on your website in your browser and right-clicking anywhere on the page. In the dropdown menu, select Inspect Element or Inspect. A toolbar will appear at the bottom or side of your screen.

In the toolbar, click on the Console tab. Then, type in the following code:

Code snippet
document.querySelector('script[src*="hubspot.com/js/tracking/"])
Use code with caution. Learn more

If the HubSpot tracking code is installed, you will see a line of code that matches the code you typed in. The line of code will include your HubSpot account ID.

If you do not see a line of code that matches the code you typed in, then the HubSpot tracking code is not installed on your website.