Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Know if Your WordPress Website Uses Cookies

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to know if your WordPress website uses cookies?

Cookies are tiny files used by websites to store temporary information in users’ browsers. Many countries have different cookie laws that require website owners to disclose which cookies they use and what information they track and store.

In this article, we will explain how to find out if your WordPress website uses cookies and how you can manage those cookies to comply with local laws.

How to see which cookies are set by your WordPress website

What Are Cookies?

Cookies are small files containing data a website sends to store in a user’s browser. Cookies play a significant role on the web and are widely used to improve user experience.

WordPress uses two types of cookies out of the box.

First, there are session cookies. These cookies are used to log in and are set for all logged-in users on a WordPress website.

Then, there are comment cookies. These cookies are set when users leave a comment on your WordPress blog. Their purpose is to store the user’s name, email address, and URL information so that they don’t have to re-enter it the next time they comment on your website.

Apart from WordPress, third-party plugins and tools may also set cookies for your WordPress website.

What Are Cookie Laws?

Cookies are powerful tools that can be used to track a lot of information about users. Considering the privacy risks, many countries and regions have created laws that set compliance guidelines for website owners.

For instance, the European Union has the GDPR and ePrivacy Directive. Similarly, countries like Canada, the UK, Japan, and many more have laws that require website owners to get user consent and disclose the information they collect, store, and track about users.

That’s the reason why you see cookie popups on many different websites. These banners allow website owners to comply with GDPR, cookie laws, and other privacy laws in different countries.

How to See Which Cookies Are Stored by a WordPress Website

All modern web browsers make it easy to view the cookies set by any website that you visit.

Before you begin, you should log out of your WordPress website and delete cookies and browsing data. This will allow you to see cookies used when regular users visit your website.

If you allow users to log in to your website, like on a membership website or an online store, you may want to test your website while logged in as a registered user.

Let’s look at how to view which cookies are stored by a WordPress website.

Google Chrome

In Google Chrome, first, you need to visit your WordPress website.

You must click on the Padlock icon next to your website address in the browser’s address bar and then select ‘Cookies and site data’.

Site cookies and data in Google Chrome

Next, you will see the number of sites allowed to set cookies.

Click on the ‘Manage on-device site data’ option.

Managing on-device site data in Google Chrome

Next, Google Chrome will show your own website if it is using any cookies.

It will also show you any third-party cookies set by your website.

Site data in Google Chrome

As you can see, this doesn’t show how many cookies are set by your website or third-party domains.

To view these cookies, you need to dig a little deeper.

Click on the three-dot menu in the top right corner of the browser’s address bar.

Next, select More Tools » Developer Tools from the browser menu.

Open developer tools

Alternatively, you can also open the developer tools by right-clicking anywhere on your website and selecting Inspect from the browser menu.

This will open the developer tools panel. From here, switch to the ‘Application’ tab and then look for the Cookies in the Storage section.

Cookies in developer tools

In the Cookies section, you will see your website URL. Clicking on it will show you the cookies used by your website.

If your website is using third-party cookies, then you will see another domain listed there. Clicking on will show which third-party cookies from that domain are stored by your website.

You can also click on any cookie to see the data it is storing in your browser. The data will be shown as a Cookie Value in the developer tools.

Cookie value

Mozilla Firefox

In Firefox, you need to visit the website you want to check and then right-click anywhere to use the ‘Inspect Element’ tool.

This will split the browser window, and you will see the developer console panel. From here, you need to switch to the ‘Storage’ tab and click on ‘Cookies’ to view all the cookies.

Viewing cookies set by WordPress using Firefox

Plugins That Allow You to Turn Off Cookies

When reviewing the cookies set by your WordPress website, you may notice that there are some cookies set by different WordPress plugins that you are using.

As a website owner, you may not want to use these cookies so that you can comply with cookie laws in different countries and limit your liability.

However, not all WordPress plugins come with easy ways to turn off cookies and make your website compliant. Here are some of the plugins that allow you to easily turn off cookies without breaking plugin functionality.

1. MonsterInsights

MonsterInsights is the best Google Analytics plugin on the market. It allows you to properly install Google Analytics and set up an EU compliance addon.

First, you need to install and activate the MonsterInsights plugin. For more help, see our article on how to install Google Analytics in WordPress.

Once you have set up the plugin, just go to Insights » Addons page and install the EU Compliance addon.

EU Compliance addon for MonsterInsights

The addon works out of the box, and there are no settings for you to configure.

You can see that the addon is enabled by visiting the Insights » Settings page and switching to the ‘Engagement’ tab.

EU Compliance addon status

The addon will now automatically anonymize IP addresses, disable the Demographics and Interests Reports, turn off user and author tracking, and more. It also integrates with the Cookie Notice and CookieBot plugins automatically.

2. WPForms

WPForms is the best WordPress contact form plugin on the market. It allows you to easily create GDPR-compliant forms for your WordPress website.

First, you need to install and activate the WPForms plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit the WPForms » Settings page and switch to the ‘General’ tab.

WPForms settings

From here, you need to scroll down to the GDPR section.

Then, check the box next to the ‘GDPR Enhancements’ option.

WPForms GDPR settings

Checking the option will expand it, and you’ll see the option to disable user cookies and user details for all forms.

WPForms also allows you to make individual forms GDPR-compliant. For more details, see our article on how to create GDPR-compliant forms in WordPress.

3. OptinMonster

OptinMonster is the best lead generation software on the market. It helps you create GDPR-compliant optin forms and lead campaigns for your website.

It allows you to easily add a Privacy Policy with a customizable checkbox. Users can then only submit the form once they have checked the box. It also allows you to enable double optin for your forms.

Privacy notice in OptinMonster

Plus, OptinMonster lets you target visitors based on their location. That way, you can make sure you are showing GDPR-compliant optins to customers in EU countries.

OptinMonster only creates cookies to improve user experience on your website, and these cookies can only be utilized for on-site tracking.

4. Smash Balloon

Smash Balloon is the best social media plugin for WordPress websites. It allows you to create social media feeds that are compliant with cookie and GDPR laws.

GDPR smashballoon

The plugin detects if you have a cookie notification plugin enabled and then holds any cookies until the user gives cookie consent.

More Ways to Comply With Cookie Laws for WordPress Websites

It is the responsibility of a website owner to comply with cookie laws in different regions. Here are some basic steps to make your website more compliant.

1. Add a Privacy Policy Page

A privacy policy page is legally required to comply with privacy and cookie laws in different regions. See our guide on how to easily add a privacy policy page to your WordPress website.

2. Install a Cookie Notification Plugin

Cookie notification plugins show a notification on your website that it uses cookies and seek consent from the users.

Cookie Notice and CookieBot are two of the most popular cookie notification plugins that are compatible with many other popular WordPress plugins. You can follow our tutorial on how to add a cookies popup in WordPress for step by step instructions.

For more options, you can see our list of the best WordPress GDPR plugins to improve compliance.

3. Keep an Eye on Plugins and Tools That Use Cookies

Check your website cookies to make sure that you can connect each cookie to an installed plugin and tool on your website. When installing new WordPress plugins or third-party tools, make sure to check if they have options to make them GDPR and cookie-law compliant.

We hope this article helped you learn how to check if your WordPress website uses cookies and ways to make your website compliant with cookie laws. You may also want to see our WordPress security guide and our expert picks for the best WordPress security plugins to protect your website and user data.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

1 CommentLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.