Events
- 06 Jul 2020
- 1 Minute zum Lesen
- Drucken
- DunkelLicht
- pdf
Events
- Aktualisiert am 06 Jul 2020
- 1 Minute zum Lesen
- Drucken
- DunkelLicht
- pdf
The content is currently unavailable in German. You are viewing the default English version.
Artikel-Zusammenfassung
Fanden Sie diese Zusammenfassung hilfreich?
Vielen Dank für Ihr Feedback
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)
})
War dieser Artikel hilfreich?