Installation
Add one script tag, deploy your site, and watch pageviews appear in OpenRevenue.
How to install
1
Pick a guide
Choose your framework below. The HTML guide works for any site.
2
Paste the script
Use your project ID as data-site.
3
Verify traffic
Deploy, visit your site, then check your dashboard.
npm package
For bundlers, install openrevenue and call init from a client entry (or use openrevenue/next in Next.js). The script tag remains the default for most sites — see the Next.js and React guides for both options.
npm install openrevenueFramework guides
Not listed? Use the HTML guide instead.
WordPress
Install the OpenRevenue plugin from WordPress.org, then paste your Project ID under OpenRevenue in the admin menu. The tracker loads from https://api.openrevenue.com/tracker.js.