wordpress-image-border
If your site is built on WordPress, you can install the tracking code by downloading the HubSpot WordPress plugin. Learn how to download the plugin here.

1. Install the HubSpot Tracking Code

Go to your Reports Settings

Log in to HubSpot, and then click on Reports > Reports Settings.

 

Copy the HubSpot Javascript tracking code

Copy the tracking code provided in your account by using the Copy to clipboard button, or by highlighting the code and using the copy function of your keyboard.

3. Copy the HubSpot Javascript tracking code

Paste the JavaScript above the </body> tag on each website page

Paste the code immediately before the </body> tag in the HTML code of each page of your site. Here's what the code would look just before the </body> tag in an HTML code view of a page:

4. Paste the JavaScript above the &lt;/body&gt; tag on each website page

Most content management systems and IT departments have a way to batch-upload a piece of code to all pages of your site. Sometimes this comes in the form of a footer file that is referenced across all pages. If you don’t have access to your content management system, send these instructions to the person who does.

How HubSpot Works