Installation
Pick your framework and get the tracker running in minutes.
The Produl tracker ships as a single NPM package — produl-tracker — with subpath exports for each supported framework. Choose the guide that matches your stack:
Next.js
App Router and Pages Router support with automatic client-side route tracking.
React
Drop into any React app. SPAs get automatic route-change tracking via history interception.
Vue 3
Use the composable or register the plugin globally with app.use().
Remix
Add the Analytics component in root.tsx for full-stack Remix apps.
HTML / CDN
One script tag. Works with any static site, CMS, or server-rendered framework.
NPM (low-level)
Call inject() directly for custom setups that don't use a framework wrapper.
If none of the framework guides fit your setup, the NPM (low-level) guide shows how to call the core inject() API directly. The HTML / CDN guide covers any server-rendered or static site via a plain <script> tag — no build step required.