AmazingDreams / vue-matomo

Vue plugin for Matomo Analytics
MIT License
274 stars 61 forks source link

add fallback for route meta title #70

Closed herrpatrickmueller closed 4 years ago

herrpatrickmueller commented 4 years ago

when running matomo in a nuxt ssr environment, meta information are not provided by the router so a fallback for the action title is needed.

AmazingDreams commented 4 years ago

It may be preferable to use the url already used in scope, rather than the current route path. Can you check whether that works for you?

herrpatrickmueller commented 4 years ago

@AmazingDreams this would work too and is better indeed. I changed the PR.