Skip to content

Commit ab41625

Browse files
committed
fix: log correct paths to countly
1 parent 984d0be commit ab41625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const router = new VueRouter({
102102
// track page view via Countly when route changes
103103
router.afterEach((to) => {
104104
if (!window.Countly) return
105-
window.Countly.q.push(['track_pageview', '/#' + to.path])
105+
window.Countly.q.push(['track_pageview', to.path])
106106
})
107107

108108
export default router

0 commit comments

Comments
 (0)