How to track page views?
Hi, I'm using
I'm currently using the above code, but since the page may not navigate when
So what's the best practice to track page views in tanstack router? Thanks
posthog-js (similar to Google Analytics) to track page views, since tanstack router navigates on the client side, I need to manually trigger the tracking method.I'm currently using the above code, but since the page may not navigate when
beforeLoad run, the captured url is not the one that is loading.So what's the best practice to track page views in tanstack router? Thanks