Are you an existing user of the GDPR cookie consent plugin? Do you need to dynamically add/edit the existing cookie categories? Then, update the plugin to get the latest feature.
That’s not all, we also offer an enhanced cookie scanner with this update.
Migrate Cookie Category
Clicking the “Migrate cookie categories” button will auto migrate your existing cookie categories (Necessary and Non-necessary) to our new Cookie Category taxonomy.

After migration, the resultant change in the dashboard menu will be as given below:

Add/Edit Cookie Categories
On updating the plugin, dynamic cookie categories such as Functional, Analytics, Performance, Advertisement, Other will be automatically added to your website in addition to the static Non-necessary and Necessary categories.
You can add all the necessary cookies of your website to the Necessary category. The users cannot disable cookies under the ‘Necessary’ category. Therefore, the Necessary category includes cookies that are essential for the functioning of the website.
For the rest of the non-necessary cookies used by the website, you can either add them to the Non-necessary category or to the Functional, Analytics, Performance, Advertisement, or Other categories. You can also create and edit categories of your own based on the nature of the cookies.

To create new categories from the Cookie Category window, you can add the following details:
- Name: Key in an appropriate name for the cookie category. The ‘cookie settings’ popup window displays the name within it.
- Slug: The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.
- Description: Type the description for the cookie category in the field provided. The ‘cookie settings’ popup window displays the descriptions beneath the cookie category name. The description is not prominent by default; however, some themes may show it.
- Category default state: If you enable the Category default state option, the category toggle button will be in the active state for cookie consent. If you disabled it, it will be in a disabled state as well.
- Head Scripts and Body Scripts: Scripts corresponding to the non-necessary cookie can be specified in this field. For example:
<script> enableGoogleAnalytics(); </script>
. Head scripts will be rendered on the head section and body scripts will be rendered on the body section of the website. - Finally, click on Add cookie category button to update.
The categories thus added will be visible on the user-end on a pop-up when the user clicks on the Cookie Settings link on the cookie bar.
Sample ‘cookie settings’ popup window
The cookie settings popup window with categories added as Analytics, Marketing, and Advertisement is as shown below:

Click on a particular category to view the cookie category description as added by the admin. The user can then choose to enable or disable the cookies of each category from the popup.
- Was this article helpful?
- Yes, thanks!Not really