Access > Scenarios, select the context you want the cookie-wall to appear in (or the default context) and click on the
onConsentevent handler will be fired when the visitor clicks on
I consent, the Didomi notice will show up, and the promise inside the handler will resolve or reject depending on the visitor interaction with the Didomi modal.
reject()is the same as
resolve(false)here), the cookie-wall will either unlock content or don't do anything at all.