How to Install Cookies Notifications on Blogger
Google requires Blogger users to set Cookie Consent or EU Cookie Law Notifications in order to comply with the applicable regulations in European Union countries. This rule is known as the General Data Protection Regulation (GDPR) which is used to regulate the protection of personal data inside and outside the European Union.
For more complete information please visit How Google Uses Cookies, and for more complete information about the GDPR, please visit the General Data Protection Regulations from Wikipedia.
How to Install Cookies Notifications on Blogger
- Please open the Blogger page
- Then select the Themes menu
- Then click Edit HTML
- Then enter the code below into the blog template, or more precisely before the </head> code or before the </body> code
- Then Save
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#000"
},
"button": {
"background": "#f1d600"
}
},
"position": "bottom-right"
})});
</script>
At this stage you have successfully installed a cookies or cookie consent notification on the blog page. To do the test, please open your blog site in a new tab in your browser with guest mode. You need to know, this notification will only appear once because the cookie function in your browser is working.
That's the discussion about How to Install Cookies Notifications on Blogger, I hope this tutorial is useful for you. If there is anything you want to ask, please ask via the comments column provided below.
Comments