Skip to content
Snippets Groups Projects
Commit da8fb860 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

Merge branch '498-stats-matomo-ko' into 'dev'

fix: statistics matomo

See merge request !919
parents 8dff6231 aeada610
No related branches found
No related tags found
2 merge requests!9322.5,!919fix: statistics matomo
......@@ -68,7 +68,7 @@ export default class MatomoTracker {
if (typeof window === 'undefined') {
return
}
const currentPath = loc.hash.substring(1)
const currentPath = loc.pathname
MatomoTracker.push(['setCustomUrl', 'https://ecolyo.com' + currentPath])
MatomoTracker.push(['setDocumentTitle', currentPath.substring(1)])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment