What Are Cookies?
Cookies are information files stored in a browser that contain data specific to a website visitor. They contain information relevant to the user’s experience on the website. For instance, cookies may retain a user’s search history, remember login details, or make product recommendations based on previous purchases.
How Are Cookies Used in WordPress?
In WordPress, cookies are mostly used to log users into a website. WordPress stores a cookie upon login to verify and store authentication for the backend/admin panel. Another cookie is stored to indicate that the specific user account is logged in, and a few other cookies personalize how the admin panel or even the main website interface appears to the user. Cookies are also stored when users leave a comment.
Depending on the plugins installed or third-party services being used, there could be more cookies scattered around your website. For example, if you’ve added a push notifications plugin or if you’re using Google Adsense, that’s at least a couple more cookies on your website that you should be aware of.
How This Applies to You
What Is the EU Cookie Law?
The EU Cookie Law was formulated to ensure that private user information acquired through cookies (for instance, if they are used for tracking) can only be acquired with the user’s consent. Although certain kinds of cookies are exempt from the law, in most cases, you’ll need to do the following if you use them on your site:
– Let your users know cookies are in use
– Tell your users what the cookies are being used for
– Give users the option to opt in or out of being tracked by cookies
And you’ll need to do this before visitors begin using your website. Failing to comply with the EU Cookie Law could result in incurring a fine, not to mention losing the trust of your users.
How to Make Your WordPress Site EU Cookie Law Compliant
To make your WordPress site EU Cookie Law compliant, there are three steps you’ll need to follow. We’ll walk through each one in turn.
– A statement clearly informing users that cookies are in use on your website
– An explanation of what cookies are
– An explanation of what kinds of cookies are in use (by you and/or third parties)
– A clear overview of how and why you (and/or third parties) are using cookies
– An explanation of how users can opt-out of having cookies placed on their device(s)
Step 2: Place a Consent Banner on Your Site
Step 3: Allow Users to Give Consent