feat: group analytics
* wip * wip * wip * wip * wip * add buffer * wip * wip * fixes * fix * wip * group validation * fix group issues * docs: add groups
This commit is contained in:
committed by
GitHub
parent
88a2d876ce
commit
11e9ecac1a
10
apps/testbed/src/analytics.ts
Normal file
10
apps/testbed/src/analytics.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { OpenPanel } from '@openpanel/web';
|
||||
|
||||
export const op = new OpenPanel({
|
||||
clientId: import.meta.env.VITE_OPENPANEL_CLIENT_ID ?? 'testbed-client',
|
||||
apiUrl: import.meta.env.VITE_OPENPANEL_API_URL ?? 'http://localhost:3333',
|
||||
trackScreenViews: true,
|
||||
trackOutgoingLinks: true,
|
||||
trackAttributes: true,
|
||||
disabled: true,
|
||||
});
|
||||
Reference in New Issue
Block a user