Meta literally got caught doing this.

Writing to a local server, and then uploading from the browser to bypass consent mechanisms.

https://wire.com/en/blog/metas-stealth-tracking-another-eu-w...