I too wanted to preserve privacy and avoid a cookie banner for my blog. I ended up rolling a privacy preserving proxy via Cloudflare workers that forwards `pageview` events to Google Analytics. It's a single HTML tag to drop in and preserves the navigation and user flow reports on the GA side.
See https://github.com/rraval/zeroindexed/tree/master/packages/t...
The blog explains expanded motivation: https://zeroindexed.com/privacy