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

  1. Open your Framer project.
  2. Go to Site Settings → General.
  3. Scroll to Custom Code → Head.
  4. Paste the tracking snippet.
  5. 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.