Cookie consent banner API – Possibility to set consent status by category via JavaScript
To embed third-party content (YouTube videos, tweets...) in a GDPR-compliant way and with a good UX, it would be helpful to provide the ability to set cookie consent status by category via JavaScript.
Then it would be possible to provide a simple switch within a gdpr-third-party-placeholder-info-text instead of having to call the cookie settings.
Surely you could build a parallel solution next to the Cookiebanner. However, this brings the following disadvantages. Visitors who have agreed to all cookies must agree again. HubSpot's native cookie scanning and blocking solution must be bypassed, and cookie setting, deleting, and blocking must be set up manually for each third-party-embedded.