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, installopenrevenue 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.
Framework guides
Not listed? Use the HTML guide instead.HTML
Next.js
React
Vue.js
Nuxt
SvelteKit
Astro
Angular
WordPress
Install the OpenRevenue plugin from WordPress.org, then paste your Project ID under OpenRevenue in the admin menu. The tracker loads fromhttps://api.openrevenue.com/tracker.js.