# Add Privatus Analytics to Umso

> Add privacy-friendly analytics to an Umso site with the Header Code field under Custom Site Code, then publish to see it run.

1. Open **Site Settings** and go to **General**.
2. Paste the snippet into **Custom Site Code** as 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.

The live editor preview doesn't show header code, so check the published
site.
