From 153ce03bcdbc62c96ac6fd08b1920e2ae38810dc Mon Sep 17 00:00:00 2001 From: Dmitri Pavlutin Date: Mon, 6 Feb 2023 14:05:45 +0100 Subject: [PATCH] fix(ms-word-addin): fix matomo url --- apps/ms-word-addin/src/services/stats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)