title: How to listen to Route changes in react-router v4 with HashRouter
body: <p>Hi i'm using <strong><em>HashRouter</em></strong> instead of <strong><em>BrowserRoute</em></strong> since I'm managing my react app on AWS s3 which is static hosting. </p>
  
  <p>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 <strong><em>withRouter</em></strong> with <strong><em>BrowserRouter</em></strong>. but I'm using <strong><em>HashRouter</em></strong>. </p>
  
  <p>Can anyone know how to do it with <strong><em>HashRouter</em></strong>?</p>