Documentation
On this page: Getting started · The banner · Categories · Consent signals · Blocking · Tracking Diagnostics · Cookie scanner and cookie list · Consent log · Speed and caching plugins · Styling · Settings, export and uninstall · Pro features
Choose a full-width bar, a corner box or a center dialog. Colors, corner radius and font size come from the settings, so no code is needed. “Reject all” has the same weight as “Accept all” by default, which is what most regulators expect.
After a visitor decides, a small floating button lets them change their mind. You can hide it and place the Cookie settings shortcode in your footer instead. The banner and the preferences dialog work with a keyboard and screen readers, and fully support right-to-left languages. A Hebrew translation is included.
Visitors choose per category: Necessary (always on), Preferences, Statistics and Marketing. You can rename each category and edit its description on the Categories tab. Every known service belongs to one of these categories, and custom services get the category you pick.
CookiePile prints the consent default at the very top of <head>, before any Google tag, with all seven consent types. When the visitor chooses, it sends an update. Choose between:
You can also set wait_for_update, ads_data_redaction and url_passthrough.
Each choice pushes a cookiepile_consent_update event to the dataLayer, carrying cookiepile_statistics, cookiepile_marketing and cookiepile_preferences as true or false. Use it as a trigger for tags that need consent.
When the free WP Consent API plugin is active, CookiePile shares the choice through it, and plugins that read it (Site Kit, WooCommerce and others) follow the visitor automatically.
CookiePile sends the UET consent default and update, and the Clarity ConsentV2 signal, so Microsoft tags respect the choice too.
About 45 known tracking services (Meta Pixel, TikTok, LinkedIn, Pinterest, Hotjar, HubSpot, X, Snap and more) wait until the visitor allows their category. CookiePile catches them in the page source and also when a tag manager or page builder adds them later in the browser.
Embeds such as YouTube, Vimeo and Google Maps become a click-to-load placeholder. To add a service we do not know yet, use the simple form on the Blocking tab: a name, a category and part of the script address is enough.
Enter any page of your site and click Run diagnostics. CookiePile first reads the page source as an anonymous visitor, then loads the page in your own browser three times: before a choice, after “Reject all” and after “Accept all”. It reports, in plain language:
Keep the option to clear this site’s tracking cookies before each run switched on, otherwise old cookies can hide new leaks. Nothing is sent to CookiePile or anyone else.
The scanner loads the pages you list and records the cookies and known services it finds. Place the The cookie list has not been generated yet. shortcode on your cookie policy page to show a table of cookies by category that stays up to date.
Every choice is stored on your own site with a random consent ID, the choice per category, the policy version, the date and a salted hash of a shortened IP address. The consent ID is also kept in the visitor’s own consent cookie, so when someone asks for proof you can search the log by that ID. You choose how long entries are kept.
CookiePile works with page caching because the banner is decided in the browser. If your speed plugin delays, defers or combines JavaScript, exclude cookiepile-head and cookiepile.js. Tracking Diagnostics tells you when this is needed.
Most visitors never need more than the built-in settings. For anything else, add CSS in Appearance > Customize > Additional CSS. Every element has a cookiepile- class, for example .cookiepile-banner and .cookiepile-btn-primary.
Hide the banner on specific pages or for logged-in users with certain roles. Export all settings to a file and import them on another site from the Settings tab. Deleting the plugin keeps your settings and consent log unless you switch on Delete all CookiePile data first.
These are included in the Pro version bought at cookiepile.com and in the edition sold on WPBay, where they are on from the start with no license key.
Still stuck? Contact support and we will help.