Last updated: June 28, 2023
The HubSpot tracking code allows HubSpot to track visitors to your site and gather traffic analytics in your account. If you're not seeing any website traffic data, verify that the tracking code has been installed and that it's firing correctly:
Please note: you may see the HubSpot Embed Code or Async HubSpot Analytics Code; these are both HubSpot tracking codes and indicate that your tracking code has been installed.
If you're using Google Tag Manager or another script loader, the tracking code will not appear in the page source. The tracking code will appear if you’re using the WordPress plugin as long as you don’t have a conflicting plugin installed.
If the tracking code does not appear, follow the steps to install the tracking code. If your tracking code appears and has been copied and pasted correctly, verify that it's firing:
If the HubSpot tracking code is firing on your website pages, but you do not see any new page views or sessions on your dashboard or in the sources report, you may need to change your target domain or add additional domains to your tracking code settings to make sure that HubSpot is gathering analytics from the correct domain or subdomain.