You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a router that makes use of History.replaceState, the page views are tracked. E.g. using Vue Router, such as $router.replace("/"), the mutation is not tracked.
Expected behavior
When replacing state, the page view should be tracked.
Steps to reproduce
Steps:
Install normally
Set it up
User history.replaceState();
The text was updated successfully, but these errors were encountered:
The solution should be relatively easy: override the implementation for replaceState() similar to how it's done for pushState. @Maronato, am I missing something? Is there any reason why it wasn't done in the first place?
Versions
Describe the bug
When using a router that makes use of
History.replaceState
, the page views are tracked. E.g. using Vue Router, such as$router.replace("/")
, the mutation is not tracked.Expected behavior
When replacing state, the page view should be tracked.
Steps to reproduce
Steps:
history.replaceState()
;The text was updated successfully, but these errors were encountered: