Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Troubleshooting page path display issue in GA4 for Vue.js SPA integrated with GTM › Reply To: Troubleshooting page path display issue in GA4 for Vue.js SPA integrated with GTM
-
It seems like Google Analytics 4 isn’t recognizing the full URL path of your Vue.js app, only the root (“/”). This could be because it’s a single page application where URL paths are often represented as fragments (after the “#”). One solution could be migrating towards using the ‘history’ mode in Vue.js that changes the URL without the “#” symbol. But remember, this can have other implications like needing server-side support to handle all paths.