Install OpenPanel
Get started with OpenPanel in less than 2 minutes.
The quickest way to get started with OpenPanel is to use our Web SDK. It works with any website.
Quick Start
Simply add this script tag to your website's <head> section.
<script>
window.op=window.op||function(){var n=[];return new Proxy(function(){arguments.length&&n.push([].slice.call(arguments))},{get:function(t,r){return"q"===r?n:function(){n.push([r].concat([].slice.call(arguments)))}} ,has:function(t,r){return"q"===r}}) }();
window.op('init', {
clientId: 'YOUR_CLIENT_ID',
trackScreenViews: true,
trackOutgoingLinks: true,
trackAttributes: true,
});
</script>
<script src="https://openpanel.dev/op1.js" defer async></script>That's it! OpenPanel will now automatically track:
- Page views
- Visit duration
- Referrers
- Device and browser information
- Location
Using a Framework?
If you are using a specific framework or platform, we have dedicated SDKs that provide a better developer experience.
Next.js
Optimized for App Router and Server Components
React
Components and hooks for React applications
Vue
Integration for Vue.js applications
JavaScript
Universal JavaScript/TypeScript SDK
React Native
Track mobile apps with React Native
Python
Server-side tracking for Python
Explore all SDKs
We support many more platforms. Check out our SDKs Overview for the full list.
What is OpenPanel?
OpenPanel is an open-source web and product analytics platform that combines the power of Mixpanel with the ease of Plausible. Whether you're tracking website visitors or analyzing user behavior in your app, OpenPanel provides the insights you need without the complexity.
Track Events
Learn how to track custom events to measure user actions.