Skip to content
Website builders

Webflow analytics with revenue attribution

2 min read · Updated · By the Reveata team

Short answerPaste 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.

Webflow sites are often marketing sites for something sold elsewhere. Reveata tracks the pages and follows the visitor to the sale.

What you get

  • Every page counted. Webflow pages are full page loads, so there is nothing extra to set up.
  • Hosted checkouts attributed with no code. Links to Stripe Payment Links and Buy Buttons get the visitor id when clicked (Stripe Payment Links analytics).
  • Webflow Ecommerce orders as revenue, from the Stripe account you connected in Webflow, credited by email.
  • Goals from the Designer, with a custom attribute on any button or link.

How to install it

  1. Open Site settings → Custom code and paste the snippet into Head code. Site-wide custom code needs a paid Site plan or a paid Workspace plan.
  2. Save changes, then Publish the whole site. Custom code only runs on the published site.
  3. In Reveata, add the website with your custom domain. The .webflow.io staging address is refused unless you add it under Additional domains, which keeps your own testing out of the numbers.

To count clicks, select the element, open Element settings → Custom attributes and add data-reveata-goal with a value such as signup (custom goals).

How Webflow Ecommerce revenue is matched

Webflow creates its own Stripe payments, so they carry no visitor id. Connect the same Stripe account in Reveata, then add a short footer script that identifies people when they submit a Webflow form with an email field (the code is in the Webflow install guide). A later Stripe payment with the same email is credited to that visitor's visits. PayPal payments taken through Webflow are not in Stripe and are not imported.

Serving the script from your own domain

Webflow can't run proxy code, but the managed proxy needs none: add one DNS record such as stats.example.com and paste the new snippet into Head code. Fewer visits are lost to ad blockers. It works with a custom domain, not with .webflow.io.

Common mistakes

  • Saving custom code without publishing the whole site.
  • Testing in the Designer or preview, which don't run custom code by default.
  • A cookie consent tool that holds scripts back: visits then count only after people accept. Cookieless mode needs no cookies.

Webflow's own developer material is at developers.webflow.com (opens in a new tab).

Frequently asked questions

Does Reveata work on Webflow's free Starter plan?

Not site-wide: Webflow's Starter plan can't add site-wide custom code.

Will a Stripe Payment Link on my Webflow page be attributed?

Yes, with no code. The script adds the visitor id to the link when someone clicks it, and Stripe stores it on the payment.

What if the snippet is in Head code and in a page's own code?

The second copy is ignored, but remove it to keep things clear.

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.IntegrationFramer analytics with sales credited to visitsAdd 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.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.