How to add the script to your Carrd site

You can add Plausible Analytics tracking code to your Carrd website by adding an "Embed" component. Carrd is a one-page website builder that doesn't support normal navigation. You need to use our special hash-based script on Carrd sites.

  • Go to the editor of your Carrd website and add an "Embed" component.

  • Change the type to "Code" and give it any name that you want.

  • Paste your Plausible Analytics hash-based script tag into the "Code" field.

  • Here's what the full script tag will look like (make sure to replace your-domain with the domain you've added to Plausible Analytics):

<script async defer data-domain="<your-domain>" src="https://plausible.io/js/plausible.hash.js"></script>
  • If you're using a custom domain for your Plausible account, you can add the .hash.js as follows: https://your.custom-domain.com/js/index.hash.js

  • After adding your code, click on the "Save" button.

Now you can go to your website and verify whether Plausible Analytics script has been added and to your Plausible Analytics account to see whether the stats are being tracked. See here how to verify the integration.

Thanks to Marius for contributing these instructions!