Update scroll tracker config entries #2052
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
I learned that our
scroll-tracker
script uses a large list of URLs and headings that are often outdated so I manually checked each page and remove the ones that don't fire events anymore because of redirects or content changes.The approach clearly has a massive flaw around maintenance, not to mention that PAs probably have no idea whether the URLs and headings are not in sync anymore or people don't reach a certain section which can potentially result in ill-informed data-based decisions.
After clean-up, we add a new entry for the results page on
next-steps-for-your-business
flow.Why
Because we ship code that has no effect on any page.
Trello card
Visual Changes
No visual changes