microsoft / microsoft/applicationinsights-react-js
React plugin Page View on history replace
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 47
- Forks
- 18
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 8
Description
The React plugin currently tracks a page view every time the history listener is called, even during a page replace. This may not be desirable to those who replace the current page to update page state, since that currently causes a new page view to be tracked.
Could we consider excluding page replaces or adding an option to exclude page replaces from tracking page views?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the React plugin's history listener and page-view tracking entry point, then inspect how history replaces are detected. Determine whether the intended behavior is to always exclude replaces or to add a configurable option; done means replace operations no longer create unwanted page views while normal navigation still does.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100