Own-brand WordPress plugins & softwareInstant download straight after checkoutA licence key comes with every productSecure checkout with Stripe & PayPalFriendly support from a real personNew tools being added regularly

Cookie Consent on WordPress: Check What Loads Before Visitors Agree

3D illustration of a glowing shield with a consent switch holding back data beside a cookie and gold tick

Many sites show a cookie banner while analytics and advertising tags are already running behind it. The visitor is asked a question after the answer has been assumed. If you market to people in the UK or EU, check what your WordPress site really does before anyone clicks.

This guide covers the basic rules, a ten-minute test, and how to set up consent properly with Altratom Cookie Suite. It is practical guidance, not legal advice.

3D illustration of a glowing shield with a consent switch holding back data beside a cookie and gold tick
Consent first, tracking second.

What the UK rules ask of a website

In the UK, the Privacy and Electronic Communications Regulations (PECR) cover cookies and similar technologies, including scripts, pixels and browser storage. The default position is that you tell people what you are doing and get their consent first, unless an exception applies.

The exceptions are narrow

The Information Commissioner’s Office (ICO) lists five exceptions: transmitting a communication, strictly necessary functions such as remembering a shopping basket, statistical purposes, adapting appearance or functionality, and emergency assistance. The statistical and appearance exceptions still require clear information and a simple, free way to object. Statistical use must also be the sole purpose, so analytics linked to advertising, or used to track individuals, still needs consent.

Online advertising has no exception. Ad pixels, remarketing tags and ad measurement need consent. Read the ICO guidance on the exceptions before relying on any of them. Rules in EU countries differ from those in the UK, so if you are unsure, asking for consent before analytics is the cautious choice.

Test your site in ten minutes

  1. Open a private browsing window so no earlier choice is remembered.
  2. Open your browser’s developer tools and select the Network tab.
  3. Load your home page and do not touch the banner.
  4. Look for requests to analytics, tag manager, advertising or session recording services.
  5. Check the Application or Storage tab to see which cookies have already been set.
  6. Click Reject all, browse two or three pages and check again.
  7. Repeat on a page with an embedded video or map, and on your checkout.

Write down what you find, including the page, the service and whether it appeared before or after your choice. Google tags running in Consent Mode can behave differently from fully blocked tags, so note which setup you use and confirm what is stored on the device in each state.

List your trackers before configuring anything

Tracking code tends to pile up in themes, header script plugins, page builder widgets and old campaign snippets. Make a simple list with four columns: the service, where the code lives, why you use it, and which category it belongs to.

  • Strictly necessary: basket, login and security functions.
  • Preferences: choices such as language or display settings.
  • Analytics: visitor statistics, heatmaps and session recording.
  • Marketing: advertising pixels, remarketing and conversion tags.

Delete anything you no longer use. A tag you have removed needs no consent, no explanation and no maintenance. If your reports are cluttered too, our guide to reading website analytics without drowning in data will help you decide what is worth keeping.

What a fair banner looks like

  • Refusing is as easy as accepting, with Reject all beside Accept all.
  • Where consent is required, nothing is switched on in advance with a pre-ticked box.
  • The wording says what the cookies do in everyday language.
  • Visitors can reopen their choices later, for example from a footer link.
  • You keep a record of the choices made.

Think about how often you ask again. The ICO suggests six months as a generally sensible interval, while noting that the law sets no fixed time limit. You may need to ask sooner if your purposes change.

Setting it up with Altratom Cookie Suite

Altratom Cookie Suite is our cookie consent plugin for WordPress. It requires WordPress 6.0 or newer and PHP 7.4 or newer, and each lifetime licence covers one website with automatic updates.

1. Install and style the banner

Upload the plugin and enter your licence key. Choose from five layouts, set your colours and wording, and use the preview button to see the banner on your own site. Visitors get Accept all, Reject all and Preferences buttons.

2. Block tracking until consent

The plugin automatically blocks about 20 well-known services, including Google Analytics, Google Tag Manager, Google Ads, Meta Pixel, Microsoft Clarity and Hotjar. You can paste other tracking code into the right category so it runs only after consent. Embeds such as YouTube, Vimeo and Google Maps are replaced with an “Allow and show” button. Google Consent Mode v2 is supported.

3. Link your policy

Add the [[altcs_preferences]] shortcode to your footer or privacy page so people can change their minds, and use [[altcs_cookie_table]] to list cookies on your cookie policy page. The consent log records the choice, date, page, a random ID and a shortened IP address, and can be exported as CSV.

4. Run the test again

Repeat the private window test four ways: before making a choice, after Reject all, after Accept all and with a single category allowed. Check on a phone and with your caching plugin active. If a tracker still loads too early, find where its code lives and add it to the blocking settings or move it into the correct category.

Keep it accurate after launch

Consent setup drifts. A new plugin, an advertising campaign or an embedded form can add cookies without you noticing. Retest after any such change, update your cookie list and use “Ask everyone again” when you change your cookies. A quick check alongside your regular site and SEO baseline review is a sensible habit.

Remember that a plugin gives you the tools, but compliance also depends on your privacy policy and how you use the data.

Your next step

Run the ten-minute test today. If trackers load before consent, take a look at Altratom Cookie Suite, or browse the other WordPress tools in the Altratom shop.

Cookie Consent on WordPress: Check What Loads Before Visitors Agree

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top