Install on Carrd
Add XPmetric to a Carrd site with a hidden Embed element placed in the head.
Carrd adds scripts through an Embed element.
Replace YOUR_SITE_TOKEN with your site token from Settings → Sites → Get Script.
Tracking snippet
<script defer data-site="YOUR_SITE_TOKEN" src="https://xpmetric.com/p.js"></script>Before you start
Embeds with custom code need Carrd Pro Standard or higher.
Steps
- Open your site in the Carrd builder and add an Embed element anywhere on the page.
- Set Type to Code.
- Set Style to Hidden and choose Head.
- Paste the tracking snippet into Code.
- Click Done, then Publish.
Verify
Open your published site in a browser, then check the XPmetric dashboard. The first pageview shows up within a few seconds.
A Carrd site is a single page, so sections reached through # links count as one pageview.
If nothing arrives, check the CSP troubleshooting guide or reply to your welcome email and we will look at it with you.