@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:
ce7b0acc-8010-4c49-a389-96ca87ad9b25-image.png
you will need to add your code after the user has consented:
onStatusChange: function(status) { console.log(this.hasConsented() ? 'enable cookies' : 'disable cookies'); },