React plugin Page View on history replace

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, react

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.

Description

enhancement help wanted

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?

Dominant language
JavaScript
Stars
47
Forks
18
Avg merge
1d 2h
Merged PRs (30d)
8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/applicationinsights-react-js

All issues in microsoft/applicationinsights-react-js

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.