Polyfill for Navigator.sendBeacon()
-
Updated
Sep 24, 2020 - JavaScript
Polyfill for Navigator.sendBeacon()
Ingestly Client JavaScript SDK for modern web analytics.
支持Ajax,Fetch,Image,navigator.sendBeacon等请求。常用于接口异常监控,数据上报,数据旁路等场景。Support Ajax, Fetch and other images, navigator.sendBeacon is often used in interface monitoring, data reporting, data bypass and other scenarios
XHR / navigator.sendBeacon / fetch wrapper
A tiny Javascript utility to push browsers' interaction events information to an API endpoint or a server (Node, API Gateway, etc...) using Beacon API
A backward compatible wrapper around the Beacon API
Custom algorithm for calculating total time spent reading the page
This project detects when a user is about to close or navigate away from a browser tab and reliably sends data to a server using the navigator.sendBeacon API. It's ideal for logging, analytics, or saving critical data during unload events.
It's intended to be used for sending analytics data to a web server when the user navigates away from the page.
Add a description, image, and links to the sendbeacon topic page so that developers can more easily learn about it.
To associate your repository with the sendbeacon topic, visit your repo's landing page and select "manage topics."