Installation
Use the script tag for the default install. Use the NPM package only when you need a framework wrapper or advanced setup.
The Produl tracker is designed to be script-embed-first: paste one <script> tag into the shared layout for your site and the runtime records pageviews, route changes, events, pings, and Web Vitals. No build step is required.
HTML / CDN
Recommended for most sites. One script tag works with any static site, CMS, or server-rendered framework.
Next.js
Optional package wrapper for teams that want typed imports in a Next.js app.
React
Optional package wrapper for React apps that prefer an Analytics component.
Vue 3
Optional package wrapper with a composable or global plugin.
Remix
Optional package wrapper that re-exports the React adapter for root.tsx.
NPM (advanced)
Call inject() directly for custom wrappers, self-hosting, or package-only setups.
iOS Swift SDK
Native screen views and custom events for Swift and SwiftUI apps.
The package guides are compatibility and developer-experience helpers around the same hosted tracker script. If you do not need typed imports, start with HTML / CDN.