Consent Prompts
Explore documentation for Consent Prompts at Osano.
📄️ Getting Started
Consent Prompts are created using the Osano Dashboard and can be deployed to your website using a simple JavaScript snippet. This snippet is provided to you when you create a new Consent Prompt, and can be found by clicking on the "Get Code" button on the Consent Prompt configuration page.
📄️ Javascript API
The Consent Prompt JavaScript API is a set of methods and events that can be used to interact with the Consent Prompt. The following sections provide an overview of the available methods and events.
📄️ Events
The Consent Prompt emits a number of events that you can listen for using the addEventListener method. The following events are available: