Hello,
It seems current version of the plugin does nothing – the consent bar never appears.
I looked into the code and the success handler seems questionable:
checkCookiesOptions: function() {
var self = this;
console.log('checking cookies options');
$.ajax({
type: 'post',
url: self.options.ajax_url,
dataType: 'json',
data: {
action: 'ultimate_gdpr_consent_check_cookies_options'
},
success: function(response) {},
error: function(xhr, ajaxOptions, thrownError) {
console.log(xhr);
console.log(ajaxOptions);
console.log(thrownError);
}
});
},
It basically does nothing and never calls “showCookieBar” method.
]]>