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

enableAutoRouteTracking should update refUri #969

Closed
vishwam opened this issue Jul 11, 2019 · 4 comments
Closed

enableAutoRouteTracking should update refUri #969

vishwam opened this issue Jul 11, 2019 · 4 comments

Comments

@vishwam
Copy link

vishwam commented Jul 11, 2019

Version: 2.1.0

Expected: The refUri in PageView events emitted by enableAutoRouteTracking should be set to document.referer only on the initial SPA load. All subsequent location changes should have uri=new href, refUri=current href.

Actual: the refUri is always set to the original document.referer

@markwolff
Copy link
Contributor

Fixed in 2.1.1

@markwolff
Copy link
Contributor

Thanks for the report! Fixed in 2.1.1

@vishwam
Copy link
Author

vishwam commented Jul 23, 2019

@markwolff It looks like with this update, the refUri is not populated anymore for browser history changes. Is there any reason for this behavior? This prevents us from doing queries like "count of users who went from Page A to Page B".

If we're not in a single page app, the refUri would be populated correctly with the user's previous URL. I'd expect the same behavior in a SPA.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants