US-GHG-Center / veda-config-ghg

Veda config for GHG
https://ghg-demo.netlify.app
Other
3 stars 15 forks source link

Trailing slashes #262

Closed aboydnw closed 5 months ago

aboydnw commented 8 months ago

Looking at google analytics data, there seems to be multiple entries for essentially the same URL, just with a trailing slash. image

Is it possible to set a rule across the app that redirects people to either a url with the trailing slash or one without? That would help analytics be consistent

aboydnw commented 8 months ago

@j08lue @hanbyul-here @sandrahoang686 fyi on this ticket, I'll leave you all to prioritize. Deborah asked about it when I was looking over the analytics with her last week. I did some digging and all the google analytics forums suggest to fix the root cause in the app rather than do some wizardry in google analytics to hide it. There aren't many good options in GA4

hanbyul-here commented 8 months ago

I feel like there will be a more elegant solution using Cloudfront rather than redirecting every page on the front-end side. @amarouane-ABDELHAK any thought?

aboydnw commented 5 months ago

Closing, we have found some workarounds on the analytics side