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
I found that it wasn't firing for me on page changes. I adjusted the syntax to follow the routeChangeComplete syntax in Next docs and then the page change events fired for me as expected. I don't understand why no error messages occurred with the current code configuration as this fails pretty silently. Since we've been using GTM which can track pageview events on its own, this wasn't showing in analytics data either.
The text was updated successfully, but these errors were encountered:
Currently routeChangeComplete event listener is not connected to the
useRouter()
hook: https://github.com/patronage/bubs-next/blob/main/website/src/pages/_app.js#L22-L34I found that it wasn't firing for me on page changes. I adjusted the syntax to follow the
routeChangeComplete
syntax in Next docs and then the page change events fired for me as expected. I don't understand why no error messages occurred with the current code configuration as this fails pretty silently. Since we've been using GTM which can track pageview events on its own, this wasn't showing in analytics data either.The text was updated successfully, but these errors were encountered: