How To Set up Cookie Consent Notification In WordPress

With the high rate of hacking and data breaches, people want to protect their online privacy more than anything else and want to browse safe online. The result, the European Union made a specific law to protect user privacy.

You don’t know but you might actually be breaking these laws without knowing.

If you are managing WordPress website or a blog, There are high chances that you’re using cookies and collect user sensitive user data to deliver the best user experience on your website.

And, if you’re not showing a cookie consent notification on your website to your visitors, then this law applied to you and you can be fined and face some serious trouble.

Don’t worry. You can set up a cookie consent notification in your WordPress website very easily.

In this post, I will help you to set up cookie consent notification. But first, let’s learn a little bit about the cookie law and why you need to show cookie consent notifications on your website.

What Is A Cookie Consent?

An HTTP cookie or a browser cookie is a type of file that websites and blogs use to collect and remember user data. This file stored in your browsers so that the websites remembers who you are.

For example, when you log in to Facebook or Google, these sites add a cookie in your browsers you are using to remember your email and password so next time you can instantly and easily login to the site.

WordPress websites and blogs also use cookies to store different types of data in your browsers. Services like Google Analytics use cookies to track website visitors and collect data such as visitor location, device type, operating system, and more. The email opt-in popups also use cookies so if you sign up for the newsletter you will not see popups again.

Even though these type of cookies looks safe harmless, but you’re still collecting data from the visitors of your website without telling them.

This is why the cookie consent was introduced to notify your visitors either accept your we can collect your data else leave the website.

How To Set up Cookie Consent Notification In WordPress 1

Here’s what a cookie consent should look like, according to the European Union.

The EU Cookie Law

This is good practice to show a cookie notification which builds trust and loyalty between your blog and website visitors and readers. However, now this is important and must by law, especially if you are getting visitors to your website from Europe and the US.

The European Union introduced the EU legislation on cookies. This “requires prior informed consent for storage or for access to information stored on a user’s terminal equipment” – The ePrivacy directive – Article 5(3)

This means that you need to inform and get the approval of users to use cookies. If you will not then you can face a serious fined and issue.

As you can imagine, how important is showing a cookie consent notification in your website and is more than just about abiding the law also an important part of making your website or blog trustworthy and safe place for your visitors and readers.

How To Write A Cookie Consent Message

You just need to inform the user by cookie consent notification that you use cookies and how you use them. Many websites also use buttons on cookie consent notification for visitors to accept or refuse site cookies.

Here’s a simple example message you can customize and use on your WordPress blog when showing a cookie consent notification.

We use third-party tools and services that utilize cookies. These tools help us deliver a better website browsing experience. By clicking on the “Accept” button or continuing to view our site, you consent to the use of cookies on our site.

To make it even more effective, you can write a cookie policy page and link to this notification to let users learn more about how you use cookies on your website.

How To Setup A Cookie Consent Notification

Well, Thanks to awesome WordPress plugins, setting up a cookie notification on your WordPress website is damm easy. I am using the free Cookie Consent plugin to get this job done.

Step 1: Install The Cookie Consent Plugin

How To Set up Cookie Consent Notification In WordPress 2

Login to your WordPress admin dashboard and navigate to the Plugins >> Add New page.

Search for the Cookie Consent plugin and click the Install button. Then click the Activate button to enable the plugin.

Step 2: Customize Settings

How To Set up Cookie Consent Notification In WordPress 3

Once the installation is complete, go to Settings >> Cookie Consent page to set up the plugin.

From here, you can choose how the notification is shown to your visitors on your website. You can let visitors close the cookie notification on-click or set a timer to automatically close the notification.

You can also exclude the notification from appearing in specific regions in the world. You need to install and activate the GeoIP Detect plugin to activate this feature.

How To Set up Cookie Consent Notification In WordPress 4

On the Styles tab, set up where the cookie notification displayed and customize the colors to make it more beautifully.

Step 3: Edit The Message

How To Set up Cookie Consent Notification In WordPress 5

Go to the Content tab of the plugin to enter your custom cookie consent notification message. Check above example.

You can also add a Read More link to redirect users to a privacy policy page and add an Accept button as well. Or you can leave them blank if you just want to show a simple Cookie notification.

After making the changes, click the Save button.

The final result will look like this.

How To Set up Cookie Consent Notification In WordPress 6

Conclusion

I recommend you should write in your website’s privacy policy page and describe how you’re using cookies and what kind of data you’re collecting of website visitors.

And it will help you not face any kind of trouble making your WordPress website more GDPR-friendly.

Leave a Comment

Donec libero efficitur. ipsum tempus velit,