Quickstart
Create an account and a project
Sign up at dashboard.flarepanel.dev, name your project and pick its type (website, app or backend). The dashboard shows your client ID and, once, a client secret.
Add the tracking snippet
For a website, paste this before </head> on every page:
<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:"call"===r||"apply"===r||"bind"===r?t[r]: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://flarepanel.dev/op1.js" defer async></script>Using a framework instead? See JavaScript and React or Next.js.
See your first event
Keep the onboarding page open and load your site. The dashboard confirms the first event within a couple of seconds, then the event list, live visitors and the overview fill in.
Track something that matters
window.op('track', 'sign_up', { plan: 'team' });Continue with Events and properties and Identify users.