# Add Privatus Analytics to Dorik

> Add privacy-friendly analytics to a Dorik website with the Header Code field in the Advanced tab of Site Settings, then publish.

1. Open **Site Settings** and go to the **Advanced** tab.
2. Paste the snippet into **Header Code**:

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

3. Publish the site.

For a single page, use the **Advanced** tab in **Page Settings** instead.
