Currently the module supports only one cookie category.

If you want to to block content for different categories you are out of luck.
It would be great if multiple categories could be used.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dmsmidt created an issue. See original summary.

steven buteneers’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
mrpauldriver’s picture

Yes it would be good to see this.

In the case of remote video media, my understanding is that YouTube sets marketing cookies, but Vimeo only sets statistical cookies.

This might be an important distinction for some.

https://cookiedatabase.org/cookie/vimeo/vuid/

dmsmidt’s picture

I wouldn't be so sure about Vimeo. It's not clear enough what happens with your user data. Their privacy and cookie statements are full of statements I doubt are valid for EU citizens.
There is a reason there still are European video platforms.

For example: "By using any of our websites, apps, or players, you consent to the placement and use of cookies and similar technologies on your device". A.F.A.I.K. This just isn't allowed when personal data is involved or tracking could be possible.

Mortarion’s picture

+1 for this feature request

This would be very useful to differ between offered applications that need a consent. In example one category blocks all videos on a webpage, while another category blocks a map application like google maps or mapbox. I would not go with a single "external" category since its ofter required to differ between the provider of the external services. A site visitor could say: "I don't want to allow tracking from Google, but for everything else, it is ok"

anruether’s picture

I think therer are two potential layers one would want to differenciate:

  • Necessary cookies vs functional vs site preferences vs marketing cookies and what not (GDPR relevant)
  • The list of external providers
dmsmidt’s picture

Note that lots of consent managers don't support accepting/refusing cookies per provider/third party. I know Onetrust does, but Cookiebot or EU cookie compliance don't. So I don't see us supporting that soon.

Our clients have never requested to differentiate between categories. In practice often one category fits all and is blocking already more than most agencies offer.

I'm happy to review patches, since I do see added value.

anybody’s picture

Well we've switched to https://www.drupal.org/project/cookies/ which solves all of that in combination. Perhaps that's the better choice for others here too isntead of eucc + ccb?

If you'd like to you can close this @maintainer. At least for Drupal 8/9.

steven buteneers’s picture

Version: 8.x-1.x-dev » 2.0.0

  • Steven Buteneers committed 303136db on feature/2978769-support-different-cookie
    Issue #2978769 by Steven Buteneers: Support different cookie categories
    

  • Steven Buteneers committed 02b095aa on feature/2978769-support-different-cookie
    Issue #2978769 by Steven Buteneers: Support different cookie categories
    

  • Steven Buteneers committed ef068f2e on feature/2978769-support-different-cookie
    Issue #2978769 by Steven Buteneers: Support different cookie categories
    

  • Steven Buteneers committed a8f840af on 8.x-2.x
    Issue #2978769 by Steven Buteneers: Support different cookie categories
    
sanderjonk’s picture

Status: Active » Reviewed & tested by the community
steven buteneers’s picture

Status: Reviewed & tested by the community » Fixed

  • Steven Buteneers committed 90b0f2ec on 8.x-2.x
    Issue #2978769 by Steven Buteneers, sanderjonk: Support different cookie...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.