Created
October 28, 2020 09:20
-
-
Save codebubb/4b65b41387d2c883a62e9b05de3f2b35 to your computer and use it in GitHub Desktop.
Beacon and PageVisibility API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.addEventListener('click', event => { | |
| window.events.push({ type: 'Click', x: event.clientX, y: event.clientY }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment