🏠 New in High Baseline Support: Beacons
October 12, 2020
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.
Source features
api.Navigator.sendBeacon[mdn]