Documentation
Revfaro documentation
What Revfaro measures, how it links payments to the channels that earned them, and where to start with the script, payments and your dashboard.
In short
Revfaro is web analytics that follows the money. A small script records visits, sources, campaigns and goals on your website, and your payment provider tells Revfaro about every payment, so you can see which channel, campaign or post brought in revenue, not just traffic.
On this page
Revfaro answers the question most analytics tools leave open: which of your marketing actually makes money? Every visit is recorded with where it came from, and every payment is linked back to the visitor who made it. Your dashboard then shows revenue next to visitors for each channel, referrer, campaign, page and country.
How does Revfaro work?
A script records visits
You add one
<script>tag to your website. It records page views, where each visitor came from (a Google search, a tweet, a newsletter, an AI assistant), the campaign tags on your links, and the goals you choose to track, such as sign-ups. See Install the tracking script.Your payment provider reports payments
You add a webhook in Stripe, Dodo Payments, Lemon Squeezy or Polar, forward verified updates from your existing Telegram bot server, or send payments with the Payments API. These server notifications work even when the buyer's browser blocks scripts. See Revenue attribution.
Revfaro connects the two
Each payment is matched to the visitor who paid, and the credit goes to the last real source that brought them to your site. A buyer who clicked your tweet, left, and came back directly two weeks later to pay is credited to the tweet.
What can you see in Revfaro?
- Revenue by channel, referrer and campaign. Visitors and revenue side by side for every source, so you can grow the channels that pay.
- Customer journeys. Every visit and page a customer saw before paying, and how long it took. See Journeys and visitor profiles.
- Goals and funnels. Sign-ups, demo requests and other key actions, and where visitors drop off on the way. See Goals and Funnels.
- Live view. Visitors, goals and payments on a globe as they happen. See Live view.
- AI and search bots. Which AI assistants, AI crawlers and search engines read your pages. See Bot traffic.
- Alerts, reports and share cards. Emails when someone completes a goal, a weekly summary on Mondays, and cards you can post or embed.
Key terms
| Term | Meaning |
|---|---|
| Website | One domain you track, including its subdomains (example.com and app.example.com). |
| Visitor | One person, recognized by a first-party cookie (or for one day in cookieless mode). |
| Visit | A session: a visitor's activity until 30 minutes pass without any. |
| Source | Where a visit came from, such as Google, ChatGPT, X or a newsletter. |
| Channel | The group a source belongs to: Direct, Organic Search, Organic Social, AI, Referral, Email or Paid. |
| Goal | An action you name and track, such as signup or checkout. |
| Attribution | Linking a payment to a visitor and crediting the source of their last non-direct visit. |
| Workspace | Your team's space: it holds your websites, your members and your plan. |
Where to start
New to Revfaro? The Quick start takes you from a new account to your first visitors in about five minutes. Already tracking? Go straight to Connect Stripe, Dodo Payments, Lemon Squeezy, Polar or Telegram.
Browse the documentation
Get started
- Quick startGo from a new Revfaro account to your first tracked visitors in about five minutes, then connect payments to see revenue by channel.
- Add a websiteAdd a website to your Revfaro workspace and choose its domain, name, timezone and revenue currency, which decide what is recorded and how it is reported.
- Install the tracking scriptAdd the Revfaro script to your website with plain HTML, Next.js, React, Vue, WordPress, Webflow, Framer, Shopify or Google Tag Manager.
- Verify your installationCheck that the Revfaro script is sending visits, read the setup status in your website settings, and fix the most common reasons data doesn't arrive.
Tracking
- Proxy the script through your domainServe the Revfaro script and its event endpoint from your own domain so ad blockers don't drop your visitors, with Next.js, Vercel, nginx or Cloudflare Workers.
- Cookieless modeUse Revfaro's cookieless script to track visits without cookies or anything stored on the device, and understand what changes for visitors and revenue.
- Exclude trafficKeep your own visits, office IP addresses, countries, staging hostnames and private pages out of your Revfaro statistics and your monthly event count.
- Tag links and campaignsUse UTM tags, the short ref tag and Revfaro's link builder to see exactly which post, newsletter or ad brought visitors and revenue.
- JavaScript SDKUse Revfaro's typed browser tracker in JavaScript or TypeScript applications, with cookie or cookieless tracking and lifecycle cleanup.
- Track goalsTrack sign-ups, demo requests, checkouts and other key actions as goals in Revfaro, with HTML data attributes, JavaScript or the server-side Goals API.
- Identify usersTell Revfaro who a signed-in visitor is with one identify call, so journeys show real names and payments without a visitor ID can be matched by email.
- FunnelsBuild funnels from pages and goals in Revfaro to see how many visitors reach each step, in order, and where they drop off before converting.
Revenue attribution
- Revenue attributionHow Revfaro links each payment to the visitor who paid and credits the marketing channel that brought them, and how payments without a visitor ID are matched.
- Connect StripeSend Stripe payments, subscription renewals and refunds to Revfaro with a webhook, and pass the visitor to Stripe Checkout or Payment Links for revenue attribution.
- Connect Dodo PaymentsSend Dodo Payments payments and refunds to Revfaro with a webhook, pass the visitor to checkout sessions and payment links, and split one account across several websites.
- Connect Lemon SqueezySend Lemon Squeezy orders, subscription payments and refunds to Revfaro with a webhook, and pass the visitor to checkouts as custom data.
- Connect PolarSend Polar orders and refunds to Revfaro with a webhook, and pass the visitor to Polar checkouts and Checkout Links for revenue attribution.
- Connect Telegram paymentsForward verified payment updates from your Telegram bot server to Revfaro. Track sales, renewals and Stars refunds without sharing your bot token.
- Other providers with the Payments APIReport payments, renewals and refunds from any payment provider to Revfaro from your server with the Payments API and your website's API key.
Features
- Read your dashboardA tour of the Revfaro dashboard, from the overview chart and its metrics to sources, pages, locations, devices, goals, filters and date ranges.
- Add notes to your chartRecord launches, campaigns and other changes on your Revfaro traffic chart. Share private website notes with your team and review their edit history.
- Live viewWatch visitors, goals and payments on your website as they happen on Revfaro's live globe, with where they came from and what they are doing.
- Journeys and visitor profilesSee every payment with the buyer and the source that brought them, browse your visitors, and open a profile with every visit, page and goal before a purchase.
- Bot trafficSee which AI assistants, AI crawlers, search engines and other bots read your pages by forwarding their requests from your server, CDN or edge to Revfaro.
- Share cards and embedsTurn your Revfaro numbers into an image for social media, a ready-to-post text, or a live card embedded on your website that updates itself.
- Goal alertsGet an email when visitors complete a goal on your website, with who they are, where they came from and what they did, sent to the teammates you choose.
- Weekly email reportsGet a Monday email summarizing last week for every website in your Revfaro workspace, and turn it on or off per workspace in your account settings.
Account and billing
- Team members and website accessInvite teammates, choose which customer websites they can see or manage, and keep workspace administration separate.
- Plans, billing and usage limitsHow Revfaro's free trial, plans, monthly event limits and billing work, what counts as an event, and what happens when you reach your limit or a plan ends.
- Privacy and dataWhat Revfaro collects about your visitors, which cookies it sets, how cookieless mode works, how long data is kept, and how to delete it.
Reference
- API referenceUse Revfaro's server-side API to record payments, goals and bot traffic with your website's API key, and find the full interactive reference at /api/docs.
- Troubleshooting and FAQAnswers to the most common Revfaro questions and fixes for missing visits, unattributed payments, duplicate or missing revenue, locked dashboards and bot setup.
Frequently asked questions
What is Revfaro?
Revfaro is revenue-first web analytics. It shows the usual traffic numbers (visitors, pages, sources, countries, devices) and links each payment to the visitor who paid and the marketing channel that brought them.
Do I need a developer to set up Revfaro?
Not for the basics. Installing the script takes one line in your site's <head>, and Stripe, Dodo Payments, Lemon Squeezy or Polar connect through a webhook in their dashboard. Custom checkouts and Telegram payment forwarding need server code. Set up with AI helps with tracking and checkout attribution; the Telegram guide covers your bot server.
Which payment providers work with Revfaro?
Stripe, Dodo Payments, Lemon Squeezy and Polar connect with a webhook. Your existing Telegram bot server can forward verified payment updates. Other providers can report payments from your server with the Payments API.
Does Revfaro use cookies?
The standard script sets two first-party cookies on your own domain. The cookieless script stores nothing on the visitor's device.