# Add Privatus Analytics to HubSpot CMS

> Add privacy-friendly analytics to HubSpot pages, blog and landing pages with the Site Header HTML setting in Content settings.

HubSpot lists this setting for all products and plans.

1. Click the settings icon in the top navigation bar.
2. In the left sidebar go to **Content → Pages**.
3. Choose a domain from the dropdown, or the default settings for all
   domains.
4. Paste the snippet into **Site Header HTML**:

   ```html
   <script defer src="https://privatusstats.com/js/pa.js" data-site="pa_YOURSITEID" data-modules="engage,auto,vitals,clicks,ask"></script>
   ```

5. Click **Save**.

To use different code on one domain, click **Override default settings** in
that section. The default code then no longer applies to that domain.

For one page only, open the page's **Settings → Advanced** and use
**Head HTML** under **Additional code snippets**.
