English
Go to website
Back
Articles on:
API
Find out more about our API.
How to run custom JavaScript after consent
Introduction This article focuses on executing custom JavaScript code after obtaining user consent. We'll explore a sample script that sets a new cookie once Targeting consent has been granted. Note that API is supported only when you have the Entreprise plan of our application. Understanding the Consent Event Listener Our application triggers a specific event, PandectesEventOnConsent, when a user interacts with the consent banner.
Few readers