Log In

JavaScript Events

Track your viewers engagement in real time

The Mindstamp player emits postMessage events that you can listen to for updates on viewer progress, status, and actions.

To listen to these events, add a JavaScript listener to your page:

window.addEventListener("message", (event) => {
  // event.data contains information
}, false);


Get in Touch

Need help or want to know more about JavaScript Events for Mindstamp? We're here for you! Contact [email protected] to learn more.

To see an example of all events being emitted from the player during a typical experience, check out this demo.