Skip to content
public-library›Rules›JavaScript›Load measurement scripts the way their vendors document

Load measurement scripts the way their vendors document

Load page-view analytics and real user monitoring scripts in the non-blocking form their vendor documents, such as an async, defer, or type="module" script tag. Do not delay them further with idle callbacks, timers, load listeners, or interaction triggers.

In the full rule