The Beacon API is a relatively unknown, lightweight, and efficient way to log web page activities to a server. It is a JavaScript API that helps the developer to send a small amount of data such as, analytics or tracking information, debugging, or di...

Markdown supported · ⌘↵ to post
I forgot about this, thanks for sharing 🙏
It’s also worth noting that Beacon API isn’þ restricted by CORS policies as much as regular XHRs requests.
The specs: w3.org/TR/beacon
And some interesting story about CORS, Beacon, Chrome (and Firefox) : medium.com/@longtermsec/chrome-just-hardened-the-…
Nice I remember Beacons being quite big from the apple days, not sure if this API can also be used for those?
Bolaji Ayodeji
Software Engineer, Teacher, and Developer Advocate.
Love this Tapas Adhikary, would try this out!