Closed djcaesar9114 closed 1 year ago
Hi, this is because the way the page url is determined. The window.location
was not updated in the router afterEach hook, so we had to "build" the current page url ourself or the "old" page url would always be passed to matomo (or insert some arbitrary delay or something).
However. I am currently debugging this and I'm noticing that the window.location
is updated in the afterEach hook on both vue 2 and vue 3. So maybe we can use window.location again, if this is something that is fixed by Vue.
This has indeed been fixed in vue-router 3.3.0 https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md#330-2020-05-27
Hello, In my dev environment I have my app running on localhost:8080. Matomo seems to work correctly, but although the real time visits counter increments, the actions aren't correct: they show
localhost/XXX
and notlocalhost:8080/XXX
. In the websites list it's correctly writtenlocalhost:8080
. Am I missing something? Thanks in advance :)