Skip to content
Website builders

Framer analytics with sales credited to visits

2 min read · Updated · By the Reveata team

Short answerAdd the Reveata snippet in Framer's Custom Code settings at the end of the head, on all pages, and publish. The script follows Framer's page changes, and sales from the checkouts your buttons link to are credited to their visits.

Framer has no checkout of its own: you build the page, and a button sends people to a payment provider's checkout. Reveata measures the page and carries the visitor through that button.

What you get

  • Every page view, including Framer's in-site navigations without full page loads.
  • Sales from hosted checkouts attributed with no code. Links to Stripe Payment Links get the visitor id on click.
  • Sales from Marketplace checkout plugins that charge through your own Stripe account, credited by the buyer's email.
  • Checkouts from other connected providers, with the ids in the checkout metadata or custom data.
  • Goals from page visits or a code override.

How to install it

  1. Open your project's settings (Site Settings, or Project Settings in newer versions) and go to Custom Code.
  2. Add a script named Reveata, paste the snippet, and place it at the End of <head> tag on all pages. If Framer asks how often it runs, choose Once; the script follows page changes itself.
  3. Save and Publish. Custom code doesn't run in the canvas or preview. Framer explains custom code in its help article on adding custom code (opens in a new tab).
  4. In Reveata, add the website with your custom domain. The .framer.website address is refused unless you add it under Additional domains.

How revenue is matched

Checkout behind your button How the sale finds its visit
Stripe Payment Link or Buy Button Visitor id added on click (details)
Marketplace plugin on your Stripe account Buyer's email, for visitors you identified
Polar Ids in the checkout metadata
Dodo Payments Ids in the checkout metadata
Your own billing The Payments API

If buyers come back to a thank-you page on your Framer site, the payment can be linked from there as well (thank-you page payments).

Goals without a custom attributes panel

Framer has no panel for attributes on buttons. Use a Page visit, no code goal with the path people reach after the action, such as /thanks, or a code override that returns { 'data-reveata-goal': 'signup' }.

Serving the script from your own domain

Framer can't run proxy code, but the managed proxy needs one DNS record, such as stats.example.com, and a new snippet. It works with a custom domain only.

Frequently asked questions

Should the script run on every page visit?

No. Choose Once. Running it again doesn't double count, but the script already tracks page changes.

Why can't I see my visits while editing?

Custom code only runs on the published site, not in the canvas or the preview.

Does a cookie banner affect the numbers?

If it holds scripts back until people accept, visits count only after they do. Cookieless mode needs no cookies.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
IntegrationStripe Payment Links analytics without codeThe Reveata script adds the visitor and session ids to every Stripe Payment Link, Buy Button and Pricing Table on your pages as a client_reference_id. Stripe stores it on the payment, and Reveata uses it to credit the sale to the visit, with no code to write.IntegrationBubble app analytics with ReveataPaste the Reveata snippet into Bubble's header script setting and deploy to Live. Every page and in-page navigation is counted, and signed-in users you identify with a Run javascript workflow are linked to their visits.IntegrationCarrd analytics for one-page sitesAdd the Reveata snippet to your Carrd site as a hidden Embed element placed in the head, then publish. Every visit is counted with its source, so you can see which links and channels bring signups and sales.IntegrationGhost analytics for posts, newsletters and membersPaste the Reveata snippet into Ghost's Site header code injection to track every page on Ghost(Pro) or self-hosted Ghost, with no theme change. A page only new members see turns each new membership into a goal with no code.IntegrationSquarespace analytics with Commerce orders matched to visitsPaste the Reveata snippet into Squarespace's Code Injection header and add a short call to the Order Confirmation Page field. Each order is then credited to the visitor who just bought.IntegrationWebflow analytics with revenue attributionPaste the Reveata snippet into Webflow's site-wide Head code and publish. Every page is counted, and sales from the checkouts your pages link to are credited to the visits that brought the buyer.