Skip to content

Documentation

Install the script, track goals, connect revenue and use the API, CLI and MCP.

Getting started

Install

Install the scriptAdd the Reveata snippet to your site and choose the options you need.Frameworks and site buildersWhere to put the snippet in Next.js, React, Vue, SvelteKit, Angular, Astro, Laravel, Django, WordPress, AI app builders and other setups.Verify your installationCheck that pageviews arrive and fix the most common reasons they do not.Install on WebflowAdd Reveata to a Webflow site, serve it from your own subdomain, and count clicks on Webflow buttons and links as goals.Install on FramerAdd Reveata to a Framer site, serve it from your own subdomain, and credit sales to their visits.Install on WixAdd Reveata to a Wix site with Custom Code, serve it from your own subdomain, and credit Wix Stores sales to their visits.Install on SquarespaceAdd Reveata to a Squarespace site with Code Injection, serve it from your own subdomain, and credit Squarespace Commerce orders to their visits from the order confirmation page.Install on GhostAdd Reveata to a Ghost site with code injection, serve it from your own subdomain, and credit paid memberships to their visits.Install on WordPressUse the Reveata plugin for the tracking script and a dashboard widget in wp-admin.Install on Next.jsAdd Reveata to a Next.js app with the script tag or the @reveata/next component.Install on AngularAdd Reveata to an Angular app through src/index.html.Install on NuxtAdd Reveata to a Nuxt app through app.head, with the script tag or the @reveata/next helper.Install on ReactAdd Reveata to a React app built with Vite or Create React App.Install on React RouterAdd Reveata to a React Router app, in framework mode (root.tsx) or as a single-page app.Install on SvelteKitAdd Reveata to a SvelteKit app through src/app.html.Install on VueAdd Reveata to a Vue app built with Vite, with Vue Router in history or hash mode.Install on AstroAdd Reveata to the base layout of an Astro site, proxy it through your own domain, and credit payments to their visits.Install on GatsbyAdd Reveata to a Gatsby site from gatsby-ssr.Install on DocusaurusAdd Reveata to a Docusaurus site with the scripts option.Install with Google Tag ManagerLoad Reveata and send goals with the Reveata tag template.Install on LaravelAdd Reveata to the Blade layout of a Laravel app.Install on a PHP siteAdd Reveata to a PHP site through the header file every page includes.Install on DjangoAdd Reveata to the base template of a Django project.Install on FastAPIAdd Reveata to pages a FastAPI app renders with Jinja2 templates or serves as static files, proxy it through your own domain, and credit payments to their visits.Install on FlaskAdd Reveata to the base Jinja template of a Flask app.Install on ExpressAdd Reveata to pages an Express app serves, proxy the script and events through two routes, and credit payments to their visits.Install with NGINXAdd the Reveata snippet to pages NGINX serves, and proxy the script and events through your own domain with the visitor’s address and your proxy secret.Install with CaddyAdd the Reveata snippet to sites Caddy serves, and proxy the script and events through your own domain with the visitor’s address and your proxy secret.Install on CarrdAdd Reveata to a Carrd site with a hidden Embed element.Install on BubbleAdd Reveata to a Bubble app through its header scripts setting, serve it from your own subdomain, and credit payments to their visits.Install on KajabiAdd Reveata to a Kajabi site and its checkout pages, serve it from your own subdomain, and get Kajabi sales into your revenue.Install on PodiaAdd Reveata to a Podia site through its third-party code settings, serve it from your own subdomain, and credit Podia sales to their visits from the conversion code.Install on BoltAdd Reveata to an app built with Bolt, by prompt or in the code editor.Install on LovableAdd Reveata to an app built with Lovable (TanStack Start or Vite), serve it from your own subdomain, and credit payments to their visits.Install on ReplitAdd Reveata to an app built and deployed on Replit.Install on v0Add Reveata to a Next.js app generated with Vercel v0.npm packagesThe Reveata packages for JavaScript projects, what each one does and how to install it.React Native and Expo appsTrack screens, custom events, identify and revenue in a React Native or Expo app, offline included, and follow people from your website into the app.

Proxy

Tracking options

Revenue attribution

Revenue attribution guideSet up revenue attribution for your payment provider in about five minutes, with the exact code for your checkout.How revenue attribution worksHow payments are matched to visitors and which channel gets the credit.Connect a payment providerConnect Stripe, Polar or Dodo Payments and pass the visitor id at checkout.Payments APISend payments from your own server when your provider is not supported.Google Search ConsoleImport your Google search keywords and see the revenue Reveata estimates for each one.Thank-you page paymentsLink payments to visitors from the checkout id on your thank-you page, or with reveata('payment'), without ever counting a payment twice.Meta AdsImport Meta ad spend and compare it with the revenue each campaign brought, as return on ad spend.Stripe: connect with a restricted keyConnect Stripe to Reveata with a read-only restricted key, and let Reveata create the webhook or add it yourself.Stripe: Connect with StripeConnect your Stripe account to Reveata in a few clicks with read-only Stripe Connect access, no key to create or paste.Stripe CheckoutCredit Stripe Checkout Sessions created on your server to the visit that led to them, with Next.js, Express or any backend language.Stripe Payment Links and buy buttonsPayment Links, Buy Buttons and Pricing Tables on your pages are credited to their visit with no code, and what happens when a link is opened elsewhere.Stripe Elements and mobile appsCredit PaymentIntents from Stripe Elements, the Payment Element and Stripe's mobile SDKs to their visit through PaymentIntent metadata.PolarConnect Polar with an organization access token or Connect with Polar, set up the webhook, and pass the visitor id in checkout metadata.Dodo PaymentsConnect Dodo Payments with an API key and a webhook signing secret, and pass the visitor id in checkout metadata.Revenue from Ghost membershipsCredit paid Ghost memberships to the visits that led to them, by connecting the Stripe account Ghost uses and identifying signed-in members in your theme.Revenue from KajabiWhat Reveata can and cannot attribute for Kajabi sales, and how to get them into your revenue reports.Revenue from PodiaHow Podia sales can be counted and credited to visits in Reveata, through the buyer's email.Revenue in apps built with AIA ready-made prompt for Lovable, Bolt, v0, Replit or Cursor that finds your checkout code and passes the Reveata visitor id, so payments are credited to their visits.Revenue from EasytoolsCount sales made with Easytools (Easytool) checkouts in Reveata and credit them to visits by email.

Goals and funnels

AI assistants

AI agents and MCP

CLI

Get started with the CLIInstall the reveata command line tool, sign in with a token, choose a website and get tables or JSON.CLI permissions and rolesWhich token each CLI command needs, the scope it uses and the lowest website role that can run it.reveata sitesList, add and inspect websites, and change their settings, exclusions and attribution from the command line.reveata statsHeadline metrics, time series, breakdowns and new versus returning visitors for any period, from the command line.reveata realtimeSee the visitors on your website right now, with their top pages, countries, referrers and devices.reveata goalsThe goals report from the command line - completions, converting visitors, conversion rate and revenue per goal.reveata funnelsList a website's saved funnels and see visitors, conversion and drop-off for each step.reveata visitorsSearch visitors, open a visitor's profile and list every page, goal and payment in their journey.reveata eventsRecord a custom goal from your server or a script, credited to the visit that led to it.reveata payments, customers and revenueSend payments from your backend, list the payments received and read customer and subscription metrics.reveata botsForward crawler and AI agent requests from an nginx or Apache access log to your bot traffic report.reveata team, keys and tokensInvite people and change their roles, create and revoke website API keys and account access tokens from the command line.reveata alertsCreate, change, test and delete traffic and revenue alerts and scheduled reports, and read their history, from the command line.reveata segments and notesSave filter sets as segments and pin notes to days on the charts from the command line.reveata config and completionSave a default website, see where the CLI reads its settings from, and turn on shell completion for bash, zsh and fish.

Dashboard and reports

Realtime and the live mapWatch visitors arrive on a live map, follow what they do, and replay up to the last 8 hours.Visitors and visitor profilesFind the visitors who paid or completed a goal, and follow each one's journey from their first visit.Periods, Now and pinned rangesPick the dashboard's period, watch the last 30 minutes live with Now, and pin the periods and date ranges you use most so they show first.Ask AIAsk questions about a website in plain language and get answers built only from your Reveata reports, with their sources.Filters and segmentsNarrow every report to one channel, country, campaign or kind of visitor, and save the filters you use often as segments.AlertsGet an email, a Slack message or a Discord message when a payment arrives, traffic spikes or drops, a goal is completed or a new referrer appears.Weekly reportsA Monday email with last week's visitors, revenue, customers and goals, compared with the week before.Public dashboard and share linksShare a read-only dashboard with anyone through a link, choose whether it shows revenue and goals, and set when the link expires.WidgetsEmbed a live visitor badge, a revenue badge, a 30-day chart or a "now visiting" pop-up on any page with one line of code.GitHub commits on the chartConnect GitHub to show each commit to your default branch on the dashboard chart, so you can see which release moved visits, signups and revenue.Likely to buyA purchase-likelihood score for every visitor online, learned from your own website's paying visits, with the reasons behind each score.Watch the buyer with Microsoft ClarityConnect your own Microsoft Clarity project to watch the session recording behind any visit, journey, funnel step or payment, with consent handled and only anonymous ids shared.Retention cohortsSee how many new visitors come back, and how many paying customers pay again, week by week or month by month after their first visit or first payment.User pathsFollow the pages visitors go through in a visit, from the page they entered on or into a page you choose, as a flow diagram with the most common paths.

Team and billing

Privacy and data

Troubleshooting