test: init analytics

This commit is contained in:
Julien Calixte
2026-03-21 21:15:04 +01:00
parent db27b03f21
commit 1fc66289a4
4 changed files with 87 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import { OpenPanel } from "@openpanel/web"
export const op = new OpenPanel({
apiUrl: "https://api.panel.apoena.dev",
clientId: "038a6aac-19bb-4a7f-9aae-2d0201fead5b",
trackScreenViews: true,
trackOutgoingLinks: true,
trackAttributes: true,
})

View File

@@ -10,6 +10,7 @@ import { messages } from "@/locales/message"
import { router } from "@/router/router"
import App from "./App.vue"
import "@/analytics/openpanel"
const i18n = createI18n({
locale: "en",