Hello @kaburke, reviving this thread to talk about another workaround i found out about tweaking yours.
It looks like when you don’t have a cookie policy published, you’re still able to revoke cookie consent by calling
_hsp.push(['revokeCookieConsent']);
but, navigating from page to page will set cookies back, so just calling it conditionally given the preferences set in your banner on page views will do the trick.
But i couldnt figure out or find the opposite command : so for example when a user changes the cookie preferences in your third party banner, a command to trigger to grant it back.
is there a command that grantsCookieConsent programatically ?
Thanks in advance