Skip to content
Logo

Coming from OpenPanel

FlarePanel keeps OpenPanel's tracking protocol, so the OpenPanel SDKs work unchanged. Create a project in FlarePanel, then change two things: the client ID and the API URL.

import { OpenPanel } from '@openpanel/web';
 
export const op = new OpenPanel({
  clientId: 'YOUR_FLAREPANEL_CLIENT_ID',
  apiUrl: 'https://api.flarepanel.dev', 
  trackScreenViews: true,
});

The script tag version needs no apiUrl: FlarePanel's op1.js sends to https://api.flarepanel.dev by default.

What carries over

track, identify, increment, decrement, revenueSame calls and payloads
Screen views, outgoing links, data-track attributesSame options
Server SDKs with a client secretSame headers (openpanel-client-id, openpanel-client-secret)

Existing OpenPanel data is not imported. See What works today for the reports that are still being moved over.

FlarePanel's own @flarepanel/* packages have the same API and will be published to npm; until then the @openpanel/* packages are the way to install from npm.