Setup and data
Framer analytics: the built-in report or a script in custom code
What Framer Analytics measures, the 30, 90 and unlimited history limits, and how to add a script from Project Settings on the Custom Code tab.
The CrispStats team · · 8 min read
In short
A Framer site already has a traffic report. Framer Analytics sits in the project and needs no tag. The moment you want a named button, a second website, or history that does not depend on the Framer plan, you add a script in the site’s custom code settings. This guide uses Framer’s help article on Analytics, updated 15 September 2026, and its custom code article, updated 19 November 2026.
Webflow has the same kind of choice, between a built-in report and a script. The tradeoffs are different, and they are covered in the Webflow analytics guide.
What does Framer Analytics measure?
It measures traffic on the published Framer site: live visitors over the last 5 minutes, unique visitors, pageviews, bounce rate, an estimated session duration, and top lists for sources, UTM tags, pages, entry pages, exit pages, 404s, countries, devices, browsers and operating systems.
Framer’s Analytics article defines the less obvious ones. A bounce is a session where the visitor views one page and leaves without further interaction. Session duration is an estimate from the time between page navigations, so the last page of a visit has no duration. Unique visitors use a one-day window: the same person on Tuesday and Wednesday can count as two, and a different device counts as a new visitor either way. Country is estimated from the IP address. Device type and referral details come from what the browser sends, which Framer says is not always exact.
Each of those lists is the top 20. A 404 is included only if the project has a custom 404 page. The article does not list funnels, revenue, scroll depth, or a named click on your own button.
| Question | Framer Analytics | A script in custom code |
|---|---|---|
| Where you read it | Inside the Framer project | The tool’s own dashboard |
| History | 30 days on Basic, 90 on Pro, unlimited on Enterprise | From the day you install the script, for as long as that tool keeps it |
| Unique visitors | A one-day window, so a return the next day can count again | Whatever window that tool uses |
| Length of the lists | Top 20 for sources, pages, UTM tags and the other lists | The tool’s own limit, which you should check |
| A named click or a form | Not in the published metrics list | An event you send, if the tool supports events |
| A site that is not this Framer project | Not counted | Counted when the same script is on that site |
How far back can you see Framer Analytics?
Basic keeps 30 days, Pro keeps 90 days, and Enterprise is described as unlimited. The FAQ on the same page says an Enterprise project can show data going back to November 2024.
The history lives with the Framer plan. The article does not describe an export, and it does not say the history moves with you if you rebuild the site somewhere else. If you need a month that is about to age out of Basic, copy the numbers before they leave the window.
What does the built-in report not answer?
It does not answer questions about a page Framer does not host, a button you want under a name you chose, or a list longer than 20 rows.
- A campaign with many referrers. Sources and UTM tags stop at 20. Referrer number 21 is absent, not rolled into an “other” row that the article describes.
- A page outside the top 20. The same cap applies to pages, entry pages and exit pages. A large CMS site will not see every path.
- A signup, a booking, or a click that stays on your domain. Those are not in the metrics list. A bounce tells you the visitor did not interact. It does not tell you which control they used when they did.
- Someone who comes back next week. The one-day window means Monday’s visitor and Friday’s visitor are not one person in the unique-visitor total.
- A site that is not this Framer project. A docs site or an app on another host is invisible here.
Framer’s article says Analytics does not use cookies, and from that it calls the product compliant with the GDPR and says no cookie banner is required. Whether any tool needs consent on your site is a question for your counsel. This page is not legal advice. Country is still estimated from the IP address, which is personal data under some laws even when no cookie is set.
How do you add your own script in Framer?
Add it from Project Settings, on the Custom Code tab. Framer’s custom code article gives the click path: open Project Settings, select Custom Code, then Add Script, or the plus icon if the project already has code.
- Name the script so you can find it later.
- Choose the placement that loads it in the page head. The help article says to choose a placement and does not list the placement names, so use the head option on that screen rather than guessing a label.
- Leave it on every page. A CMS page is still a page on the site, and limiting the script to one page hides the rest.
- Set it to run once. The article’s other choice, run on every page visit, executes the code again each time someone opens a page.
- Save, publish, and open the published URL. Framer’s custom code lesson says custom code does not load in the canvas preview. That lesson warns the interface has changed since June 2026, so treat the preview note as something to confirm, and judge the tag on the live site either way.
The tag itself is the one your tool gives you. For CrispStats it is:
<script defer src="https://in.crispstats.com/d.js" data-site="YOUR_SITE_KEY"></script>What does a month look like against the top 20?
The cap matters when the site has more pages or referrers than the list can show. The totals at the top of the report can still be right when the list under them is cut.
A worked example: a portfolio with 25 referrers
This example uses made-up numbers. A Framer portfolio on the Basic plan gets 6,000 pageviews in a month, from 25 referring sites. The sources list shows 20 of them. The other five are not in the report, even if one of them sent the only paying client.
The same month has 40 project pages. The pages list shows the top 20, so half the projects have no row. Entry pages are capped the same way. On day 31, Basic’s 30-day window starts dropping the first day’s visits. A script that has been in custom code since day one still has those visits, the missing referrers, and an event for the booking link if you tagged it.
Do not add the script’s total to Framer’s total. They overlap on every page both of them saw. Use Framer Analytics for a quick look inside the project, and the script when the question is a named action or a longer list.
How does CrispStats work on a Framer site?
CrispStats is that custom-code script, about 2.2 KB gzipped, set to run once and placed so it loads with the head. Framer changes pages without a full reload. The script watches the History API, so each new URL is one pageview and a second copy of the tag does nothing. It sets no cookies and does not store the IP address or the raw user agent. Like Framer’s own unique visitors, the default visitor hash rotates daily, so do not switch tools expecting one person to count once across a month.
What you gain is the part Framer’s metrics list leaves out: a data-cs-event attribute on a link in an embed, funnels, and the same tag on a site that is not Framer. There is no click map, and history starts when you publish the tag. The Framer install guide matches the Project Settings path above. If the Custom Code tab is missing, Framer’s help article did not name a plan requirement when we read it, so ask Framer what the project includes.
Terms in this guide
Free tools
- Bounce rate calculatorCalculate bounce rate from sessions, under the classic single-page rule or the GA4 definition, and see how many bounces stand between you and a target.
- Engagement rate calculatorCalculate engagement rate the GA4 way for a website, or the social media way for a post by reach, impressions or followers, and see why the two differ.
- Analytics cost calculatorPick a monthly volume and compare list prices of privacy-friendly analytics tools at that exact volume. Dated, and never estimated between tiers.
Use cases
- CrispStats for SaaSSee which channels bring paying customers, where trials stall in the funnel, and how your app performs for real users, from one cookieless script.
- CrispStats for ecommerceTie orders to the campaign, page and source they came from, find where checkout loses people, and watch page speed, without cookies.
- CrispStats for agenciesRun every client site from one account, share read-only dashboards by link, and send weekly reports, with no cookie banner to explain.
More guides
All guides- Setup and data · 10 minWebflow analytics: Webflow Analyze or a script tag?What Webflow Analyze measures, what it costs per session tier, and when pasting an analytics script into Webflow's custom code does the job better.
- Traffic · 12 minHow to check website traffic: your own site and anyone else'sCheck your own traffic with analytics, Search Console or server logs; estimate other sites with Similarweb, Semrush or Ahrefs, and why the numbers disagree.
- Privacy · 9 minCookieless analytics explained: how visitors are counted without cookiesHow cookieless analytics counts unique visitors with a daily rotating hash instead of a cookie, what it can and cannot tell you, and the trade-offs.