Skip to content

Commit

Permalink
Merge pull request #122 from ContentSquare/fix/ms-word-addin-matomo-url
Browse files Browse the repository at this point in the history
fix(ms-word-addin): fix matomo url
  • Loading branch information
panzerdp authored Feb 6, 2023
2 parents ddabb34 + 153ce03 commit 771e6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/ms-word-addin/src/services/stats.ts
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 771e6d8

Please sign in to comment.