文档
浏览文档

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.

查看 Markdown

Embeds need Carrd Pro Standard or higher.

  1. In the Carrd editor add a new Embed element.
  2. 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>
  1. Set Style to Hidden and Location to Head.
  2. 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.