|
|
@@ -1,19 +1,21 @@
|
|
|
import VueMatomo from 'vue-matomo'
|
|
|
|
|
|
+const OPENTALENT_PROD_ID = 196
|
|
|
+const OPENTALENT_TEST5_ID = 196
|
|
|
+
|
|
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
|
+ // @see https://github.com/AmazingDreams/vue-matomo
|
|
|
+ nuxtApp.vueApp.use(VueMatomo, {
|
|
|
+ router: nuxtApp.router,
|
|
|
+ host: 'https://stats.2iopenservice.com/',
|
|
|
+ siteId: OPENTALENT_TEST5_ID
|
|
|
+ })
|
|
|
+
|
|
|
+ // window._paq.push(['trackPageView']); // Pour suivre les visites sur vos pages
|
|
|
+
|
|
|
// @see https://scripts.nuxt.com/scripts/analytics/matomo-analytics
|
|
|
// useScriptMatomoAnalytics({
|
|
|
// matomoUrl: 'https://stats.2iopenservice.com',
|
|
|
// siteId: 196,
|
|
|
// })
|
|
|
-
|
|
|
- const OPENTALENT_PROD_ID = 196
|
|
|
- const OPENTALENT_TEST5_ID = 196
|
|
|
-
|
|
|
- nuxtApp.vueApp.use(VueMatomo, {
|
|
|
- host: 'https://stats.2iopenservice.com/',
|
|
|
- siteId: OPENTALENT_TEST5_ID
|
|
|
- });
|
|
|
-
|
|
|
- window._paq.push(['trackPageView']); // Pour suivre les visites sur vos pages
|
|
|
})
|