Easy Way to get Cookie Consent for your Website

Before going through the process how to add Cookie Consent in your Website, let us first familiar with What is Cookies? What is Cookie Consent? What is the law Behind it? Cookie Consent is compulsory for your Business/Website?

Cookies

Cookies is a piece of data or you can say a term for a packet of data that a computer receives, then sends back without altering or changing it. They can store data in your browser and enable a site to ‘remember’ bits of information about your pages or visits.

Many websites are using it, so that they can provide you the content according to your search preferences.

Cookie Consent

The Cookie Law is a piece of privacy legislation that requires websites to get consent from visitors/customers to store or retrieve bit of information on a device like computer, smartphones or tablet.

Cookie Law

All websites owned in the EU or targeted towards EU citizens, are now expected to comply with the law and that law is “You must notify your site’s visitors of your use of cookies and obtain their explicit consent before you place or access cookies on their devices.”

Cookie Consent is compulsory for your Business/Website?

If you own a website, then you should need to make sure it complies with the law.

How to add Cookie Consent Notice/Popup/ Acceptance note to your Website

It is very simple to add the Cookie Consent to your website. Just go through the step by step process and you are done!!

Steps to add (Code of Cookie Consent).

  1. Open your website admin panel.
  2. Go to your Main page code.
  3. Place the code given below just before the tag </head>

Copy Code:

<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" />
 <script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js"></script>
 <script>
 window.addEventListener("load", function(){
 window.cookieconsent.initialise({
   "palette": {
     "popup": {
       "background": "#000"
     },
     "button": {
       "background": "#f1d600"
     }
   }
 })});
 </script> 

If you want to do modify the code so that it look according to your personalize text and other stuffs, then you can do that also

Copy Code:

<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" />
 <script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js"></script>
 <script>
 window.addEventListener("load", function(){
 window.cookieconsent.initialise({
   "palette": {
     "popup": {
       "background": "#64386b",
       "text": "#ffcdfd"
     },
     "button": {
       "background": "#f8a8ff",
       "text": "#3f0045"
     }
   },
   "theme": "edgeless",
   "position": "top",
   "content": {
     "message": "Your Text stating things",
     "dismiss": "OK",
     "link": "Link",
     "href": "feedknock.com"
   }
 })});
 </script> 

Background: Change your background according to your choice by replacing any colour code 64386b

Text: You can choose your kind text by replacing the value ffcdfd

You can also change the colour and text for button on the same way

Theme: You can change the theme design by replacing edgeless

Position: You can change the position of your Popup/notice by replacing top

Content: You can change content by replacing message, dismiss button, link text along with link i.e href in the last section content.

For WordPress User you can also add plugins for that. Few plugins are listed below

  • GDPR Cookie Consent
  • GDPR Cookie Consent Banner
  • Cookie Notice for GDPR
  • Cookie Notice by dFactory
  • Cookie Consent
  • EU Cookie Law

For Blogspot user. You can follow the given listed process

  1. Login to your Blogger dashboard
  2. Click Layout > Add a gadget > Choose HTML/JavaScript
  3. Paste the code which is already mentioned in our website
  4. Save It
  5. You may keep the gadget anywhere you want
  6. Save Arrangement & Visit your Blog to Confirm.

All Done!! Now your website is ready to show the Cookie Consent. Let me know still you have any doubts in comment section down below. Thanks for visiting.

Also Check out our Gadget Section

Sharing is Caring
  •  
  •  
  •  
  •  
  •  
  •  
  • 1
  •  
  •  
    1
    Share

Brajesh Kumar Singh

Entrepreneur •Social Media Evangelist • Social Media Outreach #Strategist •Digital Marketer •Founder at @ApnaContest @trickdefined @FeedKnock

You May Also Like

3 thoughts on “Easy Way to get Cookie Consent for your Website

  1. Excellent post. Keep posting such kind of info on your
    blog. Im really impressed by your blog.
    Hi there, You’ve done a fantastic job. I will certainly
    digg it and in my view suggest to my friends. I’m sure they will be benefited
    from this web site.

  2. 873354 887231Fantastic post will probably be linking this on a couple of websites of mine keep up the great work. 521342

Leave a Reply

Your email address will not be published. Required fields are marked *