Add Privatus Analytics to Carrd
Add privacy-friendly analytics to a Carrd site with a hidden Embed element in the head, then publish. Carrd Pro Standard or higher is required.
Embeds need Carrd Pro Standard or higher.
- In the Carrd editor add a new Embed element.
- Set Type to Code, and paste the snippet into Code:
html
<script defer src="https://privatusstats.com/js/pa.js" data-site="pa_YOURSITEID" data-modules="engage,auto,vitals,clicks,ask"></script>
- Set Style to Hidden and Location to Head.
- Publish the site.
The embed shows nothing in the builder, so the tracker only runs on the published site. A hidden embed sits outside the normal element flow, so you can place it anywhere in the builder.