Hi,
I have a SPA in React and I’m trying to track PageViews using Tag Manager via History Change.
I’ve followed this guide: https://developer.matomo.org/guides/spa-tracking
So I’ve already set the Matomo Configuration Variable with {{PageTitle}} and {{PageUrl}}.
The views are being tracked but Matomo shows the old page title (the url is correct) because the History change is fired before the document title updates.
How can I show the correct page title in Matomo?
Thanks in advance
1 post - 1 participant