-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page URL not displaying correctly #12
Comments
metoo |
The script doesn't report the URL directly. It relies on the server to read the request from the Since the URL hash is meant to stay in the browser only and never be sent to the server, If you are deploying a SPA and using hash-based routing and that might happened. |
const historyCreator = __VUEPRESS_SSR__ ? createMemoryHistory : createWebHistory;
const router = createRouter({
history: historyCreator(removeEndingSlash(siteData.value.base)),
routes: pagesRoutes,
scrollBehavior: (to, from, savedPosition) => {
if (savedPosition)
return savedPosition;
if (to.hash)
return { el: to.hash };
return { top: 0 };
},
}); However, I don't seem to use Hash routes. |
It's a jekyll site with ordinary URL paths, but still most of the URLs not being captured. Weird thing is approx. 5% of views could be captured with the correct page URLs, the remaining 95% views just go to "/". Not sure what's wrong with CF's |
I added |
After swtiching to CFGA pageview report by url (or Page, default dimension) is not showing the right items, seems all views counted to "/", but Page Title report is showing the correct titles.
Any suggestions would be greatly appreciated...
The text was updated successfully, but these errors were encountered: