Works with your stack
Cookie consent for WP Dark Mode
light or dark, remembered
WP Dark Mode adds a dark display to your site. It remembers the visitor’s display in a cookie, wp-dark-mode-device, set on the first page for a year, and keeps a visitor ID in local storage. It loads nothing from another server.
By WPPOOL · wppool.dev · WordPress.org
Is this your product? Tell us if anything here is out of date. Write to us
What matters for consent with WP Dark Mode
One cookie for the display
wp-dark-mode-device remembers light or dark for the visitor’s device. Cookie Rocks recognises it as a preferences cookie and lists it in your cookie policy.
Set before any choice
The cookie is written on the first page, before the banner is answered. It stays on your site and is never sent to another company.
A visitor ID in local storage
Its accessibility script keeps wp-dark-mode-visitor, a visitor ID of the plugin, with no expiry. The Cookie Rocks scan names WP Dark Mode as its source and proposes preferences, for you to confirm.
Nothing from outside
In our test, WP Dark Mode requested nothing from another server.
What our tests found on WP Dark Mode
Good to know · WP Dark ModeWP Dark Mode remembers the display in a cookie
WP Dark Mode sets the cookie wp-dark-mode-device on the first page, before any choice, for one year. It remembers the light or dark display for the visitor’s device. Nothing is requested from another server.
Seen in our tests, 11 November 2026, WP Dark Mode.
Good to know · WP Dark ModeWhat WP Dark Mode stores in visitors' browsers
WP Dark Mode: 1 cookie(s) or browser key(s) for visitors, recognised by Cookie Rocks from 2.9.8.
Name Kept in Category What it is for wp-dark-mode-devicecookie Preferences Remembers the visitor's light or dark display choice Seen in our tests, 2 November 2026, WP Dark Mode.
Full detail
WP Dark Mode can store these in a visitor's browser: wp-dark-mode-device (cookie, preferences: Remembers the visitor's light or dark display choice). Cookie Rocks recognises them from 2.9.8, with this category and purpose, and lists them in the cookie policy when it sees them.
Light as a pebble
10.25 kB once, 1.13 kB per page. Measured, not promised.
lighter than the font on this page*
Every kilobyte costs your visitors time and costs you Core Web Vitals. Cookie Rocks adds 10.25 kB to the first page a visitor opens, then 1.13 kB to each page after that, because its files stay in the browser cache. It calls no outside server and never shifts your layout.

10.25 kB First visit, in total
1.13 kB Each next page
10.03 kB JavaScript, first visit
In the script Stylesheet, first visit
0 Requests to other servers
0 Layout shift caused
* The font on this page is Inter, compressed and cut down to the Latin alphabet. It still weighs 26.23 kB.
Optimisation
Other plugins of the same kind.
Questions
Does the dark mode cookie track visitors?
No. It holds only the display choice and stays on your site.
What happens after the 30-day trial?
The banner, your visitors’ choices and your proofs of consent keep working. Without a key, most settings lock, updates and support stop. Take a key at any time and everything opens again.
For WP Dark Mode users
Dark mode, and a clear cookie policy.
one cookie
Every feature of the complete plugin for 30 days, no card. WP Dark Mode works as it does today.
- During the trial: everything, including the full settings and the scans
- After 30 days without a key: the banner, your visitors’ choices and your proofs of consent keep working
- What waits for a key: most settings, updates and support

Get your trial key
Your e-mail and your site. Your key arrives as soon as you confirm your e-mail.