Put Cookie Consent On Your Blogger Site

This article explains how to put a cookie consent banner in a blogger site including cookie consent examples and cookie consent code.

Overview of the Cookie Consent Banner :

Google is putting the notice in every admin console of blogger.com where cookies are being used for tracking or Adsense purpose. So, here is what you have to do to put a consent on your site. I found this piece of html from http://silktide.com which is very useful and quick.

Notice From Google:

notice from google to put cookie consent

Steps to Insert Cookie Consent Code :

Go to the “Theme” section of your admin console and click on Edit HTML.

dashboard of blogger.com

Find the tag </head> in template and paste this below code just above this tag.

<script type='text/javascript'>
window.cookieconsent_options = {
 "message" : "-- YOUR MESSAGE HERE --",
 "dismiss" : "Got it !",
 "learnMore" : "More info",
 "link" : "-- YOUR PRIVACY POLICY URL --",
 "theme" : "light-bottom"

<script type='text/javascript'>

… and you are done 👍. Save it and check. It should show something like below :

custom cookie consent to put in Blogger site


I hope this quick guide helped you to put a cookie consent in your blog or website. If you have any question, please ask in the comment section.

Please Like, Share and Comment. For more articles like this, please visit our Misc section.



Please enter your comment!
Please enter your name here