Consent, Do Not Track and the sample rate are checked in the browser on every page load. If one of them says no, no observer is registered and nothing is measured.
Otherwise the metrics come from Google’s web-vitals library, are collected in a batch and sent when the page is hidden, with sendBeacon where the browser allows it.


