Onsite API
Last updated
Was this helpful?
Was this helpful?
cact(get command, [callback])cact('consent.get', function(result) {
if (result.consent.status === "all-on") {
// Consent available for all categories.
}
});cact('consent.get', function(result) {
if (result.error) {
// Manage the error
}
else if (result.consent.status === "all-on") {
// Consent available for all categories.
}
});window.caReady = window.caReady || [];
window.cact = function() { window.caReady.push(arguments); };