Test matomo tracker

This commit is contained in:
2024-04-01 18:02:39 +02:00
parent c8775f0449
commit 5725307213
9 changed files with 26 additions and 7 deletions

View File

@@ -11,6 +11,7 @@ import Swal from 'sweetalert2';
import { Inertia } from '@inertiajs/inertia';
import axios from 'axios';
import * as commons from './common.js'
// import VueMatomo from 'vue-matomo';
const appName = window.document.getElementsByTagName('title')[0]?.innerText || 'Laravel';
@@ -30,13 +31,20 @@ createInertiaApp({
return createApp({ render: () => h(app, props) })
.use(plugin)
.use(ZiggyVue, Ziggy)
// .use(VueMatomo, {
// // Configure your matomo server and site by providing
// host: 'https://matomo.soson.eu',
// siteId: 3,
// })
.mixin({
methods: {
...commons,
themes: () => Themes,
},
})
.mount(el);
// .provide('$matomo', VueMatomo)
.mount(el)
},
});