|
|
@@ -2,13 +2,20 @@ import VueMatomo from 'vue-matomo'
|
|
|
|
|
|
const OPENTALENT_PROD_ID = 196
|
|
|
const OPENTALENT_TEST5_ID = 197
|
|
|
+const OPENTALENT_LOCAL_ID = 197
|
|
|
|
|
|
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
|
|
|
+ host: 'https://stats.2iopenservice.com',
|
|
|
+ siteId: OPENTALENT_LOCAL_ID,
|
|
|
+ enableLinkTracking: true,
|
|
|
+ requireConsent: false, // Mettre à true si vous avez besoin du consentement RGPD
|
|
|
+ trackInitialView: true,
|
|
|
+ disableCookies: false, // Mettre à true pour respecter certaines règles RGPD
|
|
|
+ requireCookieConsent: false, // Mettre à true pour demander le consentement pour les cookies
|
|
|
+ debug: process.env.NODE_ENV !== 'production'
|
|
|
})
|
|
|
|
|
|
// window._paq.push(['trackPageView']); // Pour suivre les visites sur vos pages
|