How to remove duplicated trailing slashes on Google Analytics?
shamscorner opened this issue · comments
Shamim Hossain commented
Environment *
npm ls vue-gtag
: vue-gtag@1.16.1
npm ls vue
: vue@2.7.13
- Operating system: Mac/Ubuntu
- Browser and version: Brave Version 1.45.118 Chromium: 107.0.5304.91 (Official Build) (arm64)
Description *
On google analytics, I am seeing duplicated URLs with trailing slashes, like:
/dashboard
/dashboard/
And this is happening for some other routes as well. My question is, how to deal with this in vue 2? I am not seeing any options to customize it on the vue side. Maybe on the google analytics side which I should know?
Expected behavior
The URLs should be one unified:
/dashboard
without the trailing slashes.
How to reproduce?
Just visit any page manually with a trailing slash.