You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be a non-issue from GA's perspective but reporting it anyway to asses that.
Set Nuxt options:
router: {
base: '/base/',
trailingSlash: false,
}
Visit root page http://localhost:3000/base
Have a look at nuxtRoute event in window.dataLayer
Expected:
The pageUrl should, in theory, be /base
Actual:
The pageUrl is /base/
So the path reported doesn't match the actual path due to extra trailing slash. That might or might not be a problem for GA. Another case to consider is when router.base is not set. Then the route page actually has / path because browsers are automatically adding it (even if they are not showing it in the UI) and that's probably just fine as then the URL will match. So the only issue seems to be with index route and router.base set.
It might be a non-issue from GA's perspective but reporting it anyway to asses that.
http://localhost:3000/base
nuxtRoute
event inwindow.dataLayer
Expected:
The
pageUrl
should, in theory, be/base
Actual:
The
pageUrl
is/base/
So the path reported doesn't match the actual path due to extra trailing slash. That might or might not be a problem for GA. Another case to consider is when
router.base
is not set. Then the route page actually has/
path because browsers are automatically adding it (even if they are not showing it in the UI) and that's probably just fine as then the URL will match. So the only issue seems to be with index route androuter.base
set.@manniL fyi
The text was updated successfully, but these errors were encountered: