Do you want to add a cookies consent popup in WordPress? The European Union’s cookie law requires websites to get user consent to set any cookies on their computers. As a WordPress website owner, your website may be using cookies as well. In this article, we will show you how to add a cookies popup in WordPress.
While cookies are extremely useful, they can also be used to collect information about a user and share it with third party advertising platforms.
This is why in Europe and few other countries, website owners are required to let users know about their usage of cookies. If your website is based in one of those countries or mainly targets audiences in those regions, then you need to show a cookie consent disclaimer on your website.
That being said, let’s take a look at how to easily display a cookie consent popup in WordPress.
Showing a Cookie Consent Notification in WordPress
Upon activation, you need to visit Settings » Cookie Consent page to configure plugin settings.
On this page, you can control when and where you want to show the cookie consent notification. You can also select how you would like it to be closed.
In other settings, you can show or hide it for people visiting from specific geographic locations and set an expiration time for the cookie.
The default settings would work for most websites. Don’t forget to click on the ‘Save Changes’ button to store your settings.
Next, you need to switch to the ‘Content’ tab. This is where you can edit the content that will be displayed to your users in the notification.
Once you are done, click on the save changes button to store your settings.
Changing the Appearance of Your Cookie Consent Notification in WordPress
Your cookie consent popup is almost ready. You just need to setup how you would like it to be displayed.
First you need to visit Settings » Cookie Consent page and then click on the Styles tab.
On this tab, you can choose the position, colors, borders, and style for your cookie consent popup notification. You can also set a container class and then add custom CSS for your popup.
Once you are finished, click on the save changes button to store your settings.
You can now visit your website to see your cookie consent popup in action.
We hope this article helped you add a cookie consent popup to your WordPress site. You may also want to see our ultimate step by step WordPress SEO guide for beginners.
Rojenx is a leading concept artist who work appears in games and publications
Check out his personal gallery here