Hello,
On MacOS I use an intelligent firewall called LittleSnitch. It allows me to - systemwide or scoped to an app - block outgoing and incoming traffic to/from certain IPs and hostnames.
In other words, I can block the collection of analytics by services such as Google Analytics on a system level, or I can block analytics in a specific app.
Is such functionality available in GrapheneOS?