---
title: "Comment by Sébastien Portebois on \"How to log user activities using the Beacon Web API?\" | Hashnode"
description: "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:"
url: "https://hashnode.com/posts/how-to-log-user-activities-using-the-beacon-web-api/5f9672d1fbdce372c9a5827f/comment/5f96aa95f9885b0b801805d3"
---

[Discussion](https://hashnode.com/posts/how-to-log-user-activities-using-the-beacon-web-api/5f9672d1fbdce372c9a5827f)

Comment [How to log user activities using the Beacon Web API?](https://hashnode.com/posts/how-to-log-user-activities-using-the-beacon-web-api/5f9672d1fbdce372c9a5827f)

[Sébastien Portebois](https://hashnode.com/@sportebois)

[Oct 26, 2020](https://hashnode.com/posts/how-to-log-user-activities-using-the-beacon-web-api/5f9672d1fbdce372c9a5827f/comment/5f96aa95f9885b0b801805d3)

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](https://www.w3.org/TR/beacon/)

And some interesting story about CORS, Beacon, Chrome (and Firefox) : [medium.com/@longtermsec/chrome-just-hardened-the-…](https://medium.com/@longtermsec/chrome-just-hardened-the-navigator-beacon-api-against-cross-site-request-forgery-csrf-690239ccccf)

[Tapas Adhikary](https://hashnode.com/@atapas)

[Oct 26, 2020](https://hashnode.com/posts/how-to-log-user-activities-using-the-beacon-web-api/5f9672d1fbdce372c9a5827f/comment/5f96aa95f9885b0b801805d3#reply-5f96ab4ef9885b0b801805db)

[Sébastien Portebois](https://hashnode.com/@sportebois), Thanks!

Great point about CORS and thanks for the links. Must go through.
