Skip to content

Commit 886e827

Browse files
committed
#3414 webpage: add more matomo integration
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent a6bc0ea commit 886e827

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webpage/src/.vuepress/client.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import BlogDate from './components/BlogDate.vue'
1010
import BlogIndex from './components/BlogIndex.vue'
1111
import ProfileCard from './components/ProfileCard.vue'
1212

13+
// Import Matomo analytics (replaces vuepress-plugin-matomo)
14+
import { initMatomo } from './utils/matomo.js'
15+
1316
export default defineClientConfig({
1417
enhance({ app, router, siteData }) {
1518
// Create Vuetify instance
@@ -29,6 +32,9 @@ export default defineClientConfig({
2932
app.component('BlogDate', BlogDate)
3033
app.component('BlogIndex', BlogIndex)
3134
app.component('ProfileCard', ProfileCard)
35+
36+
// Initialize Matomo Analytics (replaces vuepress-plugin-matomo)
37+
initMatomo(router)
3238
},
3339
setup() {},
3440
rootComponents: [],

0 commit comments

Comments
 (0)