diff --git a/apps/ms-word-addin/src/services/stats.ts b/apps/ms-word-addin/src/services/stats.ts index 44a371e5..391fcdba 100644 --- a/apps/ms-word-addin/src/services/stats.ts +++ b/apps/ms-word-addin/src/services/stats.ts @@ -1,7 +1,7 @@ import { config } from '@/constants/config' const trackAdaptEvent = (isSelection: boolean) => { - let url = `${config.matomoURL}/.php?idsite=2&action_name=adaptSelection&rec=1&ua=unknown&uadata={}` + let url = `${config.matomoURL}/matomo.php?idsite=2&action_name=adaptSelection&rec=1&ua=unknown&uadata={}` url += isSelection ? '&action_name=adaptSelection' : '&action_name=adaptDocument' fetch(url, { mode: 'cors' }).catch(console.error)