This module allows site builders to set cookies using Drupal's UI without writing code. Cookies can be set via Views or in the future via a block, and their presence can also be used to control block visibility.
Utility module for site builders that allow to set cookies without a line of code via different supported methods.
At the moment all cookies are set via javascript to interfere as less as possible with caching, but be aware that if you are using an external caching system this can interfere on that.
Current supported methods:
Views
Use case: You want to track if the current user has visited a given view. You add a Set Cookie Area to your view footer with the name and value of your cookie.
Future planned methods:
- Block that sets a cookie
Existing integrations:
- Block visibility: make a block visible or not based on a cookie.
Ask your assistant about Set Cookie
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.1.0 | Stable | 9–10 | Oct 5, 2023 |