Title: cookie-cat
Author: bobbingwide
Published: <strong>17 Masg 2012</strong>
Last modified: 07 Sgiugn 2025

---

Search plugins

![](https://ps.w.org/cookie-cat/assets/banner-772x250.jpg?rev=760923)

![](https://ps.w.org/cookie-cat/assets/icon-256x256.png?rev=973926)

# cookie-cat

 By [bobbingwide](https://profiles.wordpress.org/bobbingwide/)

[Download](https://downloads.wordpress.org/plugin/cookie-cat.1.4.8.zip)

 * [Details](https://lmo.wordpress.org/plugins/cookie-cat/#description)
 * [Reviews](https://lmo.wordpress.org/plugins/cookie-cat/#reviews)
 * [Development](https://lmo.wordpress.org/plugins/cookie-cat/#developers)

 [Support](https://wordpress.org/support/plugin/cookie-cat/)

## Description

Use the [cookies] shortcode to produce a table of all the cookies your WordPress
site uses; showing cookie name, category, description and duration.
 In April 2012
the International Chamber of Commerce (ICC) UK issued the ICC UK cookie guide ( 
a 15-page / 296KB PDF report ). The guidance, which has been welcomed by the Information
Commissioner’s Office (ICO), contains information on the different categories of
cookies that website operators use. The ICC UK cookie guide suggests some standard
wording to include in your website’s Privacy policy.

This wording includes: **A list of all the cookies used in this website by category
is set out below.**

This plugin will help you to create the list.
 By default the list is dynamically
generated taking into account the active plugins on the website.

This plugin _does not_ implement anything to help you obtain the user’s consent 
to place a cookie on their device.
 There are other plugins to help you do that.

Use in conjunction with [oik-privacy-policy](https://wordpress.org/plugins/oik-privacy-policy/)

### Further reading

If you want to read more about the oik plugins then please visit the
 [oik plugin](https://www.oik-plugins.com/oik)**“
the oik plugin – for often included key-information”**

### DISCLAIMER

This version of the plugin is provided free of charge to the WordPress community.

Its purpose is to help with the creation of your cookie catalog. We accept no responsibility
for ensuring the correctness of the information displayed. Don’t have a go at us
if your cookies are not listed or are “unknown”.

## Screenshots

 * [[
 * cookie-cat options section
 * [[
 * XML feed section: showing the XML files being used
 * [[
 * Cookie catalog – the “current” output from the [cookie] shortcode
 * [[
 * Example showing selected cookies and plugins
 * [[
 * cookie-cat.co.uk Mapping page – the source of the data
 * [[
 * cookie cat Warning that data is passed to the cookie-cat server

## FAQ

### Installation

 1. Upload the contents of the cookie-cat plugin to the `/wp-content/plugins/cookie-
    cat’ directory
 2. Activate the cookie-cat plugin through the ‘Plugins’ menu in WordPress
 3. Visit oik options > cookie cat page and perform the following steps
 4. Click on the Load XML button. A temporary XML file will be loaded for your active
    plugins
 5. Check the ‘Use temp XML file?’ checkbox and click on Redisplay. The cookie catalog
    may change. If there are “unknown” see the FAQ
 6. Click on the Save XML button to update the Latest XML file to the Latest loaded.
 7. Edit your Privacy policy page to include the [cookies] shortcode

Note: cookie-cat is dependent upon the oik plugin. You can activate it but it will
not work unless oik is also activated.
 Download oik from [oik download](https://wordpress.org/plugins/oik/)

### What is the EU cookie law?

Also known as the EU e-Privacy Directive the “UK Privacy and Electronic Communications
Regulation” becomes effective in the UK on 26th May 2012.
 That’s the date when 
the Information Commissioner’s Office (ICO) is due to begin enforcing the new rules.

### Who does it apply to?

All websites that use cookies which may be delivered to devices being used in the
UK or EU countries.

### What should we do about it?

Steps to take:

 1. Each website should have a privacy policy page.
 2. Each privacy policy page should list the cookies in use.
 3. Each website should obtain consent to use cookies, as and when required, depending
    on cookie category

This plugin helps with step 2.

### What are the cookie categories?

Here’s a simple list.

 1. Strictly necessary cookies – these cookies enable services you have specifically
    asked for
 2. Performance cookies – these cookies collect anonymous information on the pages 
    visited
 3. Functionality cookies – these cookies remember choices you make to improve your
    experience
 4. Targeting cookies or advertising cookies – these cookies collect information about
    your browsing habits in order to make advertising relevant to you and your interests.

For more information see [cookie-cat](http://www.cookie-cat.co.uk) or read the ICC
UK Cookie guide

### I just get [cookies]!

You need to activate both the oik plugin and the cookie-cat plugin.
 And check the
syntax of the shortcode.

### Some of my cookies are “unknown”

The list of cookies that this plugin recognises may never be a complete list of 
all known cookies.
 If your website delivers cookies that are not recognised then
the cookie category, description and duration will be shown as “unknown”. This is
not really acceptable as the guidelines state that you’re supposed to explain “how
they are used on the websites they visit”.

There are several ways to address this problem.

 1. Do nothing. NOT recommended.
 2. Add a caveat saying something like “the exact purpose of the cookie has not yet
    been ascertained. If you are concerned please contact us for more information.”
 3. Remove the unknown items from the table.
 4. Find out what the unknown cookies are; then update the output with the correct 
    information.
 5. Stop using the plugin/theme or service that delivers the “unknown” cookie
 6. Let cookie-cat know you have an “unknown” cookie, wait for an update and retry.
 7. Raise an issue if there is a bug in the code.

### How do I add a caveat?

First you need a Privacy policy page.
 If you have used the [oik-privacy-policy](https://wordpress.org/plugins/oik-privacy-policy)
plugin to help generate your Privacy policy page then you can write the caveat in
the section that starts _“A list of all the cookies used in this website by category
is set out below”._

### How do I remove the items from the table

 1. Override the default logic to select the plugins you want processed
 2. Override the default logic to select the cookies you want listed
 3. Edit the generated HTML
 4. Programmatically, using the “cookies” filter
 5. A combination of the above

### How do I update the output?

The [cookies] shortcode queries information from an XML file that contains the known
information about a cookie.
 If you think it’s wrong then you can do one or more
of the following:

 * save the HTML generated by the [cookies] shortcode and edit it manually
 * change the XML file
 * develop a “filter” to alter the data before it’s displayed

### How do I save the generated HTML

Use the “oik options > shortcode help” page, select the [cookies] entry then copy
the generated “snippet”
 Paste this into your Privacy policy page. You may then 
wish to de-activate the cookie-cat plugin until you next change the installed plugins.

### How do I change the XML file?

From version 1.1 the XML file can be loaded directly from the cookie-cat website.

Use oik options > cookie cat and follow the instructions in the Installation section
Note that using the Load XML function passes the names of currently active cookies
to the cookie-cat server. By using the function you authorize cookie-cat to the 
information that is passed.

### What is the source of the XML file’s data

It comes from the [cookie-cat](https://www.cookie-cat.co.uk) website.

 * Use the cookie cat admin page to load an XML file tailored to your site.
 * The XML file delivered with the plugin was generated from the data held in the
   cookie-cat website.
 * This XML file is no longer being updated when a new version of the plugin is 
   released

### Can I list the browser cookies?

Yes. Use [cookies browser=Y]

### What is the syntax for [cookies]?

[cookies
 browser=”N|Y – show browser cookies” cookies=”|cookie1,cookie2 – Optional
list of cookie names.” plugins=”|plugin1,plugin2 – Optional list of plugin names.
Defaults to ALL active plugins” temp=”N|Y – Use the temporary cc_mapping XML file”]

### Where can I find out more?

If you are in the UK you should see the [ICC UK Cookie Guide](https://www.cookielaw.org/media/1096/icc_uk_cookiesguide_revnov.pdf)

Also have a look at the links on the [cookie-cat](https://www.cookie-cat.co.uk) 
website.

## Reviews

![](https://secure.gravatar.com/avatar/ab21c46aba67c7f1888ab50df511895bb6eb0feb56dd7577bbea06bfa7940df9?
s=60&d=retro&r=g)

### 󠀁[Works Perfectly](https://wordpress.org/support/topic/works-perfectly-687/)󠁿

 [babrees](https://profiles.wordpress.org/babrees/) 03 Setember 2016

Just what I needed. Thanks. Works straight out of the box.

![](https://secure.gravatar.com/avatar/3e76d3a1eae0c4f8cda0d40bb83031cbb81f905b43b361d3f893b979ddef6546?
s=60&d=retro&r=g)

### 󠀁[Does what is says!](https://wordpress.org/support/topic/does-what-is-says-15/)󠁿

 [elektroinside](https://profiles.wordpress.org/elektroinside/) 07 Fevrer 2017

It’s just what i needed! Thank you!

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/cookie-cat/reviews/)

## Contributors & Developers

“cookie-cat” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ bobbingwide ](https://profiles.wordpress.org/bobbingwide/)
 *   [ vsgloik ](https://profiles.wordpress.org/vsgloik/)

[Translate “cookie-cat” into your language.](https://translate.wordpress.org/projects/wp-plugins/cookie-cat)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cookie-cat/), check
out the [SVN repository](https://plugins.svn.wordpress.org/cookie-cat/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/cookie-cat/) by 
[RSS](https://plugins.trac.wordpress.org/log/cookie-cat/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4.8

 * Changed: Support PHPUnit 10 & 11 #8
 * Tested: With WordPress 6.8.1 and WordPress Multisite
 * Tested: With PHPUnit 9.6, 10 & 11
 * Tested: With PHP 8.3 and PHP 8.4

## Meta

 *  Version **1.4.8**
 *  Last updated **10 months ago**
 *  Active installations **1'000+**
 *  WordPress version ** 4.9.8 or higher **
 *  Tested up to **6.8.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/cookie-cat/)
 * Tags
 * [cookie](https://lmo.wordpress.org/plugins/tags/cookie/)[eu cookie directive](https://lmo.wordpress.org/plugins/tags/eu-cookie-directive/)
   [oik](https://lmo.wordpress.org/plugins/tags/oik/)[shortcode](https://lmo.wordpress.org/plugins/tags/shortcode/)
   [UK cookie law](https://lmo.wordpress.org/plugins/tags/uk-cookie-law/)
 *  [Advanced View](https://lmo.wordpress.org/plugins/cookie-cat/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/cookie-cat/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cookie-cat/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cookie-cat/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cookie-cat/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/cookie-cat/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/cookie-cat/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cookie-cat/reviews/)

## Contributors

 *   [ bobbingwide ](https://profiles.wordpress.org/bobbingwide/)
 *   [ vsgloik ](https://profiles.wordpress.org/vsgloik/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cookie-cat/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.oik-plugins.com/oik/oik-donate/)