Web features explorer

Beacons

Widely available since 2020-10-12
Tags: api

The navigator.sendBeacon() method asynchronously sends an HTTP POST request with a limited amount of data, typically for app state, events, and analytics data. The one-way beacon is guaranteed to be initiated before the browser unloads the page, but the sender does not get to handle the response.

Learning resources on MDN

Browser support

Specifications