- In your HubSpot account, click the settings settings icon in the top navigation bar.
- Navigate to your Tracking & Analytics settings:
- In accounts that only have access to Marketing Starter or HubSpot’s free tools, navigate to Tracking Code in the left sidebar menu.
- For all other subscriptions, navigate to Tracking & Analytics > Tracking code in the left sidebar menu.
- In the Embed code section, click Copy or click Email to my web developer to send the tracking code to the team member who will be installing it on your site.

- Install the tracking code on your website.