Quick summary
The HubSpot tracking code enables visitor analytics and behavioral tracking across your website by embedding a small JavaScript snippet before the closing body tag. Once installed, HubSpot can track page visits, attribute contacts, and power marketing automation workflows.
Steps
- Click on the Gear icon in the top right corner to open Settings.
- Find and select Tracking Code in the left navigation pane.
- Locate the Embed code displayed on the tracking page.
- Copy the code to your clipboard or email it directly to your developer.
- Paste the tracking code before the closing </body> tag in the HTML of each page, or have your developer add it to the shared footer file referenced across all pages.
.gif)

