Events (Global for Web)
auditIdChanged
`callback result`: {"event":"auditIdChanged"}
Fired on audit id change.
acceptAllButtonClicked
`callback result`: {"event":"acceptAllButtonClicked"}
Fired on acceptAll button click.
denyAllButtonClicked
`callback result`: {"event":"denyAllButtonClicked"}
Fired on denyAll button click.
saveAndExitButtonClicked
`callback result`: {"event":"saveAndExitButtonClicked"}
Fired on save and exit button click.
exitButtonClicked
`callback result`: {"event":"exitButtonClicked"}
Fired on exit button click.
commandQueued
`callback result`: {"event":"commandQueued"}
Fired after CMP is ready if command is queued until consent data are available.
isLoaded
`callback result`: {"event":"isLoaded"}
Fired when the full CMP implementation has been loaded and assigned to window.__lrcmp. The vendors list from vendors.json is not guaranteed to be loaded. If the CMP is loaded before an event listener is added the listener will be fired immediately after being added.
consentToolShouldBeShown
`callback result`: {"event":"consentToolShouldBeShown"}
Fired after CMP is ready if consent tool should be shown.
consentChanged
`callback result`: {"event":"consentChanged"}
Fired on every consent change.
consentManagerClosed
`callback result`: {"event":"consentManagerClosed"}
Fired when consent manager is closed.
consentNoticeClosed
`callback result`: {"event":"consentNoticeClosed"}
Fired when consent notice is closed.
consentManagerDisplayed
`callback result`: {"event":"consentManagerDisplayed"}
Fired when consent manager is displayed.
consentNoticeDisplayed
`callback result`: {"event":"consentNoticeDisplayed"}
Fired when consent notice is displayed.
consentManagerAlreadyShown
`callback result`: {"event":"consentManagerAlreadyShown"}
Fired if consent manager is already shown and command for show is called.
consentNoticeAlreadyShown
`callback result`: {"event":"consentNoticeAlreadyShown"}
Fired if consent notice is already shown and command for show is called.
toggleButtonClicked
Fired when toggle is clicked.
vendorListChanged
Fired if vendor list changed.
disabledCookies
Fired if cookies are not enabled on user's browser.
isReady
Fired when CMP is ready.
cmpApplies
Fired on CMP applies check.
dauLogSent
`callback result`: {"event":"dauLogSent"}
Fired when the interpreted consent state (full, partial, no, unknown) is sent to the Daily Active Users log. The interpreted consent state data are used for reporting purposes. This event can be used to update other services with the user's interpreted consent state.