🔨 events fix

This commit is contained in:
Danilo Znamerovszkij
2025-10-24 16:06:01 +02:00
parent c981a07a2f
commit 7ae50fbb1b
2 changed files with 4 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ import './components/MetainfoContainer.scss'
echarts.use([TitleComponent, SunburstChart, SVGRenderer, CanvasRenderer])
globalState.initialize()
analytics.trackPageView('Home', 'landing', 'overview')
const router = Router.getInstance()
const theoryChart = new TheoryChart('main', router)

View File

@@ -24,8 +24,9 @@ class Analytics {
try {
mixpanel.init(this.config.token, {
debug: !import.meta.env.PROD,
track_pageview: false, // We'll handle page views manually
persistence: 'localStorage'
track_pageview: false,
persistence: 'localStorage',
ignore_dnt: true
})
this.mixpanel = mixpanel
} catch (error) {