Discount Sale
  • Days
  • Hrs
  • Mins
  • Secs
30% Off

Use coupon code 'MDS30' Limited Offer!!

Star

Home > Docs > Manually Adding a Cookie to the Cookie List

Manually Adding a Cookie to the Cookie List

Last updated on May 9, 2025

During the scanning process, the plugin aims to identify and categorize most of the cookies present on your site using its comprehensive Cookie Dictionary. However, there may be instances where certain cookies may not automatically get categorized or identified. This can happen due to various reasons, such as:

  • New or uncommon cookies that are not yet included in the Cookie Dictionary.
  • Cookies with non-standard or unclear names or sources.
  • During the scan, specific conditions may not trigger the generation of cookies dynamically.
  • Cookies with short lifespans or those that expire quickly.

GDPR Cookie Consent plugin allows users to manually add cookies to the banner when the system fails to identify them automatically. This ensures comprehensive coverage and compliance.

To add the cookies manually,

  1. From the Dashboard, Click on GDPR Cookie Consent > Manage Cookies.
Manually add cookies - GDPR Cookie Consent
Manually add cookies – GDPR Cookie Consent
  1. Now select the Cookie List option. This lists the various cookie categories such as
    1. Necessary
    2. Functional
    3. Analytics
    4. Performance
    5. Advertisement
    6. uncategorized
  2. Cookies can be added manually to each category by clicking on the corresponding + Add Cookie button.
  3. Add the cookie details to the Add New Cookie page that pops up. The following is a screenshot of the Add New Cookie page.
Add New Cookie - GDPR Cookie Consent
Add New Cookie – GDPR Cookie Consent

The following are the fields in the Add New Cookie page.

  • Cookie Name: Enter the name of the cookie. You can add a user-friendly name, as this field is for audit purposes.
  • Domain: Add the domain from which the cookie is being installed on the user’s browser.
  • Duration: Specify the duration for which the cookies will persist on the user’s browser.
  • Description: Enter the description of the cookie to help users clearly understand the purpose of a cookie, the type of data it collects, etc.
  1. After all the details have been added as above, click on the Save cookie button to add the cookie to the Cookie List.

Manually blocking a script by using a pattern

Blocking scripts based on their URL pattern is a common approach in cookie consent management and privacy compliance to prevent specific scripts from loading unless users give consent. This ensures that third-party tracking, advertising, or analytics scripts don’t execute without user consent.

  • Script URL Pattern: This option is in the Advanced Options section. Third-party URL patterns can be added here to enable auto-blocking before consent. For example, Consider a third-party script is trying to setup Google Analytics cookies, adding the pattern “Google-analytics.com” will block the script until the user consents.