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
-
It’s quite possible that this is happening because
gtag
is ignoring the hash part of the URL when you’re usingHashRouter
. 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.