How to Embed the Consent Form
Add the following script tag to your website where you want the consent form to appear:
<script src="https://your-domain.com/embed.js"></script>
Live Example:
Event Handling Example:
window.addEventListener('consentFormSubmitted', (event) => { console.log('Consent submitted:', event.detail); });