@mj-lamouret said in How to install Google consent mode?:
innovation-interieur-ea9cab
Hey @MJ-LAMOURET
Please check this documentation:
https://www.osano.com/cookieconsent/documentation/javascript-api/
This will help you to modify the Cookie consent block that you added in the footer:
you will need to add your code after the user has consented:
onStatusChange: function(status) {
console.log(this.hasConsented() ?
'enable cookies' : 'disable cookies');
},