userflow / userflow.js

Async loader for Userflow.js
https://userflow.com
MIT License
7 stars 2 forks source link

`Page Viewed` is not being tracked when using @tanstack/router #13

Closed truongtrongtin closed 1 month ago

truongtrongtin commented 2 months ago

We migrate the app from using react-router-dom(works fine) to @tanstack/router. But the Page Viewed of user session is not tracked when navigating between routes, may be because the UpdateClientContext event is not fired.

vigbeamer commented 1 month ago

@truongtrongtin, This appears to be due to @tanstack/router patching the pushState method, which might be preventing the UpdateClientContext event from firing.

We are currently investigating this issue to identify a solution. We appreciate your patience and will keep you updated on our progress.

vigbeamer commented 1 month ago

We have addressed the issue you raised and released a new version of the package, Userflow@2.12.1.

Please upgrade to the latest version and let us know if you encounter any further issues.

Thank you for your feedback!