Cookie Tasting
Detect user login only with cookie. The best helper for cached WordPress sites.
Consider an alternative
Cookie Tasting shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 6 years ago, and scores 30/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in 6 years
- Only tested up to WordPress 5.5 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Cookie Tasting stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cache | >100 |
| cookie | >100 |
| membership | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About Cookie Tasting
From the official readme · v1.0.11Description
This plugin sets user cookie when user is logged in.
You can use cookie as data store,
so you can use it as UI resource.
Visibility
This plugin adds class to html element.
ct-logged-inThe current user is logged in.ct-not-logged-inThe current user is anonymous.
You can control elements visibility with CSS.
.some-element{
display: none;
}
.ct-logged-in .some-element{
display: block;
}
From JavaScript
You can use Global Object CookieTasting for utility.
CookieTasting.userName()Returns user name. If not logged in, returns ‘Guest’.CookieTasting.lastUpdated()Returns timestamp of last log in check. If this equals 0, it means that user is anonymous.
Besides that, this plugin checks periodically log-in status.
You can handle it with jQuery.
jQuery( document ).on( 'cookie.tasting', function( event, response ) {
if ( response.login ) {
// User is logged in.
// If you use React...
setAttributes({ name: CookieTasting.userName() })
} else {
// User is not logged in.
}
} );
If you use react or something, updated the status with setState().
Check Before Action
If you manage cached WordPress and customizing your own theme,
It’s a good idea to implement dynamic UI components with JavaScript.
You can check user’s credential just before important actions.
// Click action for button.
$('.read-more').click( function( e ) {
e.preventDefault();
// Check cookie before do something.
CookieTasting.testBefore().then( function( response ) {
// Now user has fresh information.
// Load premium contents.
loadPremiumContents();
}).catch( function( response ) {
// This user is not logged in.
// Redirect them to login page.
window.locaion.href = '/wp-login.php';
} );
} );
Plese remember adding dependency for cookie-tasting-heartbeat to your script.
Handle UUID
By default, this plugin set UUID for each user. This will be…
- Unique for each logged in user and will be saved as user_meta.
- Also kept for anonymous user.
So you can use it for Google Analytic’s User ID View.
const uuid = CookieTasting.get( 'uuid' ); // For Google Analytics. ga( 'set', "userId", uid );
Installation
- Download zip file and unpack it.
- Upload the directory to
wp-content/plugins. - Go to WordPress admin screen and activate this plugin.
Recommendation: Search on WordPress admin screen and install it.
Changelog
1.0.11
- Display
console.logonly ifSCRIPT_DEBUGis true.
1.0.10
- Bugfix: Add polyfil for
Object.assignin favor of lte IE11.
(Props @Kamata Ryo).
1.0.9
- Bugfix nonce refreshing for cached page.
1.0.8
- Add filter for Cookie check API. Now you can change error message.
1.0.7
- Fix UUID logic.
- Add automatic refresh for rewrite rules.
1.0.6
- Fix SSL bug.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Cookie Tasting alternatives
All cache plugins →FAQ
Cookie Tasting: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Cookie Tasting free?
Yes. Cookie Tasting is free to download and use from the official WordPress.org plugin directory.
Is Cookie Tasting safe to use in 2026?
Cookie Tasting shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 6 years ago, and scores 30/100 on our health check.
How many websites use Cookie Tasting?
Cookie Tasting is active on 10+ WordPress websites and has been downloaded 2,876 times since it launched in March 2019. It was downloaded 242 times in the last 30 days.
Does Cookie Tasting work with WordPress 7.1?
Cookie Tasting is officially tested up to WordPress 5.5.25, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Cookie Tasting need?
Cookie Tasting requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Cookie Tasting last updated?
The latest version, 1.0.11, was released on October 27, 2020 (6 years ago).
Who makes Cookie Tasting?
Cookie Tasting is developed and maintained by Tarosky Inc..
What are the best alternatives to Cookie Tasting?
The most popular alternatives to Cookie Tasting are WP Super Cache (1M+ installs), WP Fastest Cache (1M+ installs) and WP-Optimize (1M+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
