# Add Privatus Analytics to Kajabi

> Add cookieless analytics to a Kajabi site with Header Page Scripts in site details, and learn which checkout pages the site-wide code does not reach.

1. In the dashboard go to **Settings**.
2. Under **Site settings**, click **Site details**.
3. Under **Page scripts**, paste the snippet into **Header Page Scripts**:

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

4. Click **Save**.

Kajabi puts this code in the `<head>` of every page. Kajabi's article
[Add custom code to pages](https://help.kajabi.com/en/articles/17174964)
lists no plan requirement for it.

## Checkout pages

Header Page Scripts does not run on offer checkout pages or upsell pages, so
visits there are not counted. Kajabi has a separate article for tracking code
on checkout pages.

## Custom domains

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