test: init analytics
This commit is contained in:
9
src/analytics/openpanel.ts
Normal file
9
src/analytics/openpanel.ts
Normal 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,
|
||||
})
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user