I just added the script tag for Cloudflare Web Analytics, and I was able to see some data in the dashboard.
However, I can see analytics for root path only, not sub paths.
I use Gatsby.js and as you might know, it only loads the first page you visit and then, either preload the others or make an API call. From the user perspective, they see the URL changed, so it should be considered a page view.
It looks that Web Analytics beacon script only sends data on page load.