> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openrevenue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install OpenRevenue on any website with one lightweight script tag, then verify traffic in your dashboard.

## 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](https://docs.openrevenue.com/installation/nextjs.md) and [React](https://docs.openrevenue.com/installation/react.md) guides for both options.

```bash theme={"theme":{"light":"one-light","dark":"one-dark-pro"}}
npm install openrevenue
```

## Framework guides

Not listed? [Use the HTML guide](https://docs.openrevenue.com/installation/html.md) instead.

> [card] [HTML](https://docs.openrevenue.com/installation/html.md)

> [card] [Next.js](https://docs.openrevenue.com/installation/nextjs.md)

> [card] [React](https://docs.openrevenue.com/installation/react.md)

> [card] [Vue.js](https://docs.openrevenue.com/installation/vue.md)

> [card] [Nuxt](https://docs.openrevenue.com/installation/nuxt.md)

> [card] [SvelteKit](https://docs.openrevenue.com/installation/sveltekit.md)

> [card] [Astro](https://docs.openrevenue.com/installation/astro.md)

> [card] [Angular](https://docs.openrevenue.com/installation/angular.md)

## WordPress

Install the [OpenRevenue](https://wordpress.org/plugins/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`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.