Skip to content
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

How to remove duplicated trailing slashes on Google Analytics? #499

Open
shamscorner opened this issue Nov 11, 2022 · 0 comments
Open

How to remove duplicated trailing slashes on Google Analytics? #499

shamscorner opened this issue Nov 11, 2022 · 0 comments

Comments

@shamscorner
Copy link

Environment *

npm ls vue-gtag: vue-gtag@1.16.1

npm ls vue: vue@2.7.13

  1. Operating system: Mac/Ubuntu
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant