Install on Framer
Add XPmetric via Framer Site Settings → General → Custom Code → Head.
Framer sites support a global head script for analytics.
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>Steps
- Open your Framer project.
- Go to Site Settings → General.
- Scroll to Custom Code → Head.
- Paste the tracking snippet.
- Publish the site.
Verify
Browse your published Framer URL and confirm pageviews in the XPmetric dashboard.
Vibe-coding tools
Building with Lovable, Bolt, v0, or Replit? The same snippet works — paste it in the project's global HTML <head> or root layout, same as plain HTML.