Hi i'm using HashRouter instead of BrowserRoute since I'm managing my react app on AWS s3 which is static hosting.
Now I want to integrate Google Analytics into my app and need to detect Route changes. I looked into documents which react-router team provides but couldn't get one. I know there is a way to detect changes using withRouter with BrowserRouter. but I'm using HashRouter.
Can anyone know how to do it with HashRouter?