How To Display Cookie Consent Message On Blogger - Helper Blogger

Blogger Widgets | Templates | Tutorials


Thursday, 22 February 2018

How To Display Cookie Consent Message On Blogger

From 26th May 2012 onwards, UK websites/companies or websites having visitors from european countries are required to obtain a consent from website users regarding storing or retrieving any information on computer, tablet or mobile. Which means a website adminstrator must inform its visitors about how cookies i.e. information about them is stored and used online, Also let them choose to allow storing cookies or not.
Basically the law was designed to protect the privacy of user as the cookies can be used for illegal purposes also. Cookies are essential part of browsers and websites, it can be used to make your browsing experience much smoother by various means such as by saving your custom preferences, remember your username or textfilds you have entered before. While there numerous pros of using cookies there are some cons also as 3rd party cookies enabled on website can be used for advertising purchases like what products you have purchased recently, what products your are viewing and later that this information can used to feed you targetted advertisements. You may be wondering what actuallly cookies are and why they are used?

What is a cookie?

Cookies are a small piece of information that website asks browser to store on your device. Cookies are mainly used to make your browsing experience more smoother by remembering your preferences so that when you visit same website next time the browser retrieve your stored information. Almost all browsers use cookies and user have right to view or delete any cookie anytime.

Why cookies are used?
As I have said earlier cookies are mainly used to
  1. Remember your preferences
  2. Identify users
  3. Displaying advertisements that are most relevent to a user
  4. Personalize user experience by storing information about them

Am I Requied to comply with this law?
Yes, If you own a website using cookies and having visitors from european countries then you are required to follow the law.

Does a blogger blog use cookies?
Yes, A blogger blog uses cookies for various reasons. Here a official blogger article on this law.
Especially if you use Google Analytics or Google Adsense you are requied to obtain a cookies consent from your visitors.

How to install cookie consent?
Blogger automatically enables a cookie consent on blogspot blogs if you are using default templates but if you wish to modify to match it up with your blog design like you may have noticed the button color on my cookie consent is my primary theme color. 

If your are already using blogger's default cookie consent then you have to remove it first by adding this small piece of code.
  1. Login to Blogger Account
  2. Goto Theme > Edit HTML
  3. Add following code before </head> tag
<script type="text/javascript">cookieChoices = {};</script>

This code will disable default blogger cookie consent.

 Adding Customized Cookie consent

  1. Now, Visit Insites Cookieconsent
  2. Customize consent as per your requirement

  3. After customizing, copy the generated code and add it to before </head> tag
Hope you found this guide helpful and easy.
If you are facing any issues regarding installation of consent, feel free to mention it in comment box.


  1. Replies
    1. Thank you Udom. Don't forgot to share it with your friends.

  2. Download free book science :

  3. Great post but I was wondering if you could write a little more on this subject. I’d be very thankful if you could elaborate a little bit further. Thanks in advance! article writing services, business writing services

  4. Marketing is essential to promote and grow your business, and marketing today can be divided into two broad categories: Traditional Marketing and Internet Marketing. In recent years, some have argued that traditional marketing no longer works, and that Digital Marketing is gradually replacing it. Before I offer my view on this, I will share some of the differences between traditional and digital marketing, including the pros and cons of each.

  5. Second, recall that trader loan organizations are not bound by similar standards and directions that control customary moneylenders, and utmost the financing costs they can charge you. Check Cashing chicago

  6. Hi. I use a custom domain for my Blogger blog. I've added the code but how do I check that EU visitors are seeing the cookie statement? I'm in the US. Thanks.

  7. We provide you the best and Top Chandigarh escorts

    services at affordable price. Contact us or visit us today!!

  8. We provide you the best and Top Manali escorts services at affordable price. Contact us or visit us today!!

  9. We provide you the best and Top Dehradun escorts services at affordable price. Contact us or visit us today!!

  10. We provide you the best and Top Dehradun escorts services at affordable price. Contact us or visit us today!!

  11. hello Rahul, this is indeed a nice post you got here, i must say it was really helpful. with this guide i can easily setup my blogger cookies consent. thanks for sharing!

    i also offer Free SEO and Blogging tips here on ElochiBlog

  12. All Assignment Help is a web portal where students get help in making assignments for all the subjects, with the help of our experts. You will get 100% plagiarism free assignment. Expertes consultation is also available for students. If they have any query they can contact with our experts anytime.

  13. thanks b f sharerng ths info is usful to me.
    but however check my webit here
    we hav similar things in common

  14. thanks b f sharerng ths info is usful to me.
    but however check my webit here Gbojom's blog
    we hav similar things in common, but paypal payment issue so free am i.

  15. Great Information about cookies, found out the importance and uses of cookies.

  16. This blog has given me a lot of info that I will well. Thank you very much for your effort, and I hope you stick to continue doing this.


If you want to be informed about any replies then check "Notify me" option (present at lower right corner of comment box and it will display if you are logged in to your google account). PLEASE DO NOT SPAM