Some anonymous analytics I promise
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { createInertiaApp } from '@inertiajs/vue3';
|
||||
import { VueUmamiPlugin } from '@jaseeey/vue-umami-plugin';
|
||||
import { configureEcho } from '@laravel/echo-vue';
|
||||
import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
|
||||
import type { DefineComponent } from 'vue';
|
||||
@@ -22,6 +23,19 @@ createInertiaApp({
|
||||
setup({ el, App, props, plugin }) {
|
||||
createApp({ render: () => h(App, props) })
|
||||
.use(plugin)
|
||||
.use(
|
||||
VueUmamiPlugin({
|
||||
websiteID: 'e616767f-e0d3-4ce9-b551-33c7c3806fc0',
|
||||
scriptSrc: 'https://abcd.matthiasg.dev/script.js',
|
||||
// autoTrack: true,
|
||||
debug: import.meta.env.DEV,
|
||||
extraDataAttributes: {
|
||||
'data-auto-track': 'true',
|
||||
'data-performance': 'true',
|
||||
'data-domains': 'perceptron.matthiasg.dev,matthiasg.dev,www.matthiasg.dev',
|
||||
}
|
||||
}),
|
||||
)
|
||||
.mount(el);
|
||||
},
|
||||
progress: {
|
||||
|
||||
Reference in New Issue
Block a user