Replies: 1 comment 9 replies
-
looking for this probably https://tanstack.com/router/v1/docs/framework/react/api/router/RouterType#subscribe-method |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to add June (analytics service) and I have to track page visits and pass along the user for the context. However, unless I add an onBeforeLoad to every route I can't access the context of the router. I'd like to just register a global event on each route change and pass it to our analytics service. Am I just missing something or is this really what I have to do?
Beta Was this translation helpful? Give feedback.
All reactions