Learn business growth with Google Analytics 4 Forums Google Analytics 4 Troubleshooting issue with Google Analytics 4 and virtual page views Reply To: Troubleshooting issue with Google Analytics 4 and virtual page views

  • Pham

    Member
    23 June 2023 at 3:24 pm

    It’s quite possible that this is happening because gtag is ignoring the hash part of the URL when you’re using HashRouter. It’s not something I’ve seen explicitly stated in the docs, but from what I’ve observed, as well as a few other sources I found (you can check them out here and here), it does seem to be the case.