Add PerchLens to a published Framer site without writing custom code.
In your Framer project, click the gear icon in the top toolbar to open Site Settings.
Scroll down to the General tab. You'll see two text areas: 'Start of <head> tag' and 'End of <body> tag'. We use the head one for fastest tracking.
Drop the tracking script into the 'Start of <head> tag' box.
<script defer src="https://perchlens.com/cv.js" data-site="{SITE_ID}"></script>Click Publish in the top-right. The script loads on every page automatically — no per-page configuration needed.
{SITE_ID} in the snippets above with your actual tracking ID. You'll find it in Settings → Tracking after creating a site.It's only available on Framer's paid plans (Mini and above). Check the plan switcher at the top of Site Settings.
Framer single-page-app navigation triggers pushState — PerchLens auto-detects this. If you're still seeing zero, open DevTools and look for blocked requests to /api/collect.
Create a free account to get your tracking ID — takes about 30 seconds.
“Set it up in 30 seconds. Replaced two paid tools.”
— Indie maker on X
“Finally, analytics I actually look at every day.”
— SaaS founder
“My users appreciate no cookie banner. I appreciate the simplicity.”
— Agency developer
Join thousands of makers who track their sites with clarity, not complexity. Free forever for up to 3 sites.