# Add Privatus Analytics to ClickFunnels

> Add cookieless analytics to ClickFunnels 2.0 with the tracking codes in site settings or the custom header code in a funnel's settings.

## Pages in a site

1. Click **Sites** under **Apps** and choose **Overview**.
2. Click the three-dot button at the upper right and choose
   **Site Settings**.
3. Scroll to **Tracking Codes** and paste the snippet into the header
   field:

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

4. Save.

ClickFunnels documents these steps in its article
[Site Settings: Adding Site Tracking Codes](https://support.myclickfunnels.com/docs/site-settings-adding-site-tracking-codes).

## Pages in a funnel

ClickFunnels also lets you add custom header and footer code to every page of
a funnel from the funnel's settings page. Paste the snippet into the header
code field there. Use this when the pages are in a funnel and not in a site.

## Custom domains

Hits are only stored for hostnames among your site's domains. Add your
funnel's custom domain as an
[additional domain](/docs/getting-started/add-a-site#more-settings-under-site-settings-general),
and add any ClickFunnels address you test on.
