Documentation

How to set up CookiePile

Everything you need to install CookiePile, connect your tags and check that they really follow the visitor choice.

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

Getting started

  1. Install and activate CookiePile. If you downloaded a zip (from your WPBay account or from cookiepile.com), upload it at Plugins > Add New > Upload Plugin and activate it. The WPBay edition asks for no license key and no account: every feature is on the moment you activate it, and you move to a newer version by uploading the newer zip over it.
  2. Open CookiePile in the admin menu. The defaults are safe from the first minute: opt-in consent, Advanced Consent Mode and blocking switched on.
  3. On the Banner tab, pick your cookie policy page and adjust the texts, layout and colors.
  4. Open Tracking Diagnostics and run it on your home page. Fix anything it reports and run it again.
  5. Optional: install the free WP Consent API plugin if you use Site Kit or WooCommerce.

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.

Categories

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.

Consent signals

Google Consent Mode v2

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:

  • Advanced: Google tags load and send cookieless pings until the visitor chooses. This keeps modeled conversions in Google Ads and GA4.
  • Basic: Google tags do not load at all until the visitor agrees.

You can also set wait_for_update, ads_data_redaction and url_passthrough.

Google Tag Manager

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.

WP Consent API

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.

Microsoft Advertising and Clarity

CookiePile sends the UET consent default and update, and the Clarity ConsentV2 signal, so Microsoft tags respect the choice too.

Blocking

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.

Tracking Diagnostics

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:

  • tracking requests or cookies that happen before the visitor agrees,
  • Google tags that report consent as granted when it was not,
  • a consent default that loads after your tags, or that a speed plugin delays,
  • duplicate GA4 ids, Tag Manager containers and Meta pixels,
  • a second consent tool fighting the first one.

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.

Cookie scanner and cookie list

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.

Consent log

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.

Speed and caching plugins

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.

Styling

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.

Settings, export and uninstall

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.

Pro features

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.

  • Pixel consent APIs: Meta and TikTok pixels load with consent revoked and switch on after consent, instead of being blocked outright.
  • Region rules and Global Privacy Control: opt-in where required, lighter rules elsewhere, and respect for the GPC browser signal.
  • Weekly monitoring: diagnostics run every week and you get an email when something changes.
  • Client-ready reports and consent log export and statistics.

Still stuck? Contact support and we will help.

CookiePile

Try CookiePile on your site today

Install the free plugin, run Tracking Diagnostics and see where your tags stand in under a minute.