I have been playing around with the initialConsentState setting. I have set two cookie categories (analytical and marketing) to initialConsentState: 'on' but, on first page load, the toggle buttons are in the "off" state.
If I then click the "Accept Recommended Settings" button and refresh the page, the cookies have been set.
Shouldn't the toggle buttons have been set to "on" when the page is first loaded?
I'm not saying that having initialConsentState set to "on" is GDPR-compliant but I'm sure some clients are going to want it set up like this and it seems a little confusing to have the toggle buttons initially set to "off" when initialConsentState is set to "on".