Hey there, I’d like to add this callback hook so my visitors can opt out of cookies.
onInitialise: function (status) {
var type = this.options.type;
var didConsent = this.hasConsented();
if (type == 'opt-in' && didConsent) {
// enable cookies
}
if (type == 'opt-out' && !didConsent) {
// disable cookies
}
},
and so on
where should I do this?
Thanks for your help!