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

Investigate presence of both / trailed and non-trailed paths in GA #3877

Open
2 tasks
Tracked by #3574
romaricpascal opened this issue Jun 28, 2024 · 0 comments
Open
2 tasks
Tracked by #3574

Comments

@romaricpascal
Copy link
Member

What

Figure why the behaviour flow of Google Analytics revealed that we're tracking pages both with and without trailing slashes while users browse the site:

  • /styles and /styles/
  • /patterns and /patterns/
  • /component and /components/

This distinction would be fine for landing pages, as we don't control how other websites link to us. However, during navigation between pages of the design system, we should only see one format for the paths.

Why

We likely have some form of redirect in place to make this transparent to users (at the price of an extra request, which would be great to avoid). However, in the analytics, it muddies the data as:

  • both URLs are the same page
  • this doubling of pages pushes other pages out of the top X of the data, making it harder to review how users browse the Design System site

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

  • We know why we're seeing both URLs on Google Analytics
  • We've chosen and implemented a fix so we only track a single page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant