Events
- 06 Jul 2020
- 1 Minute à lire
- Impression
- SombreLumière
- PDF
Events
- Mis à jour le 06 Jul 2020
- 1 Minute à lire
- Impression
- SombreLumière
- PDF
The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article
Avez-vous trouvé ce résumé utile ?
Merci pour vos commentaires
Session Events
ScreenMeet Cobrowse has browser events that it emits when starting or stopping a Cobrowse session. These can be used by host websites to keep track of the session, or log analytics data, or enable or disable relevant user interface elements, or any other use which the developers can use it. These event triggers on each window, iframe, and page load which participates in the Cobrowse session. It is recommended though not strictly necessary to make handling these events idempotent as they will trigger at multiple times per session. They do include their session id on `event.detail.id` so that you may correlate the events.
StartCobrowseEvent
window.addEventListener("StartCobrowseEvent", function(event) {
console.log("ScreenMeet Cobrowse session has started. ID: ", event.detail.id)
})
StopCobrowseEvent
window.addEventListener("StopCobrowseEvent", function(event) {
console.log("ScreenMeet Cobrowse session has end. ID: ", event.detail.id)
})
Cet article vous a-t-il été utile ?