How to be notified when a user gives his consent?

13 April, 2020

window.eikyoSettings = {
  guid : 'YOURID',
  debug : false,
  accepted : function() {
    console.log("User gave his consent");
  declined : function() {
    console.log("User refused to give his consent");


In the accepted callback you can start to write here your cookies while in the declined callback you can cancel cookie writing or even make them leave your website