/Docs
Register

Introduction

Welcome to the OpenRevenue docs. Learn how to add privacy-friendly analytics to any website in minutes.

What is OpenRevenue?

OpenRevenue is a lightweight, privacy-friendly web analytics platform. It tracks pageviews, visitors, referrers, countries, devices and more — without marketing cookies, without fingerprinting for ads, and without selling visitor data into an advertising network.

The tracker may use a first-party visitor or session identifier so returning visits can be measured. You remain responsible for privacy notices and any consent rules that apply to your site and jurisdiction.

How it works

1

Add the script

Paste one script tag into your site. No npm install, no configuration, no marketing cookies.

2

Data is collected

Every pageview is captured server-side and enriched with geo and device data in real time.

3

View your dashboard

Open your OpenRevenue dashboard to see traffic, sources, countries, and realtime visitors.

Quick start

The fastest way to get started is to add the script tag directly to your HTML. Replace your-project-id with the ID from your dashboard.

HTMLindex.html
<body>  <script    src="https://api.openrevenue.com/tracker.js"    data-site="your-project-id"    defer  ></script></body>
Using a framework? We have dedicated guides for Next.js, React, Vue, Nuxt, SvelteKit, Astro, and Angular in the sidebar.

Next steps