Key points
- A cookie policy reflects the latest analysis: if the analysis is partial or outdated, the text is too.
- Before restarting the scan, open the site, clear the cache, and fix any pages with errors.
- Compare the result with the services you know are installed, and clean up any that are still lingering in the theme.
- Regenerate the policy after each addition or removal of a service.
- Blocking before consent and Google Consent Mode v2 are free; service-by-service consent requires nexya Pro.
WordPress cookie policy: why the list is often wrong
On WordPress support forums, the same question often comes up: cookie analysis gets stuck, or the generated WordPress cookie policy cites services the site doesn’t use while forgetting others. The published text then no longer matches the reality of the site.
The discrepancy almost always has the same origin. A cookie policy is built based on what has been observed. If the observation is incomplete or outdated, the text is too. The problem rarely comes from the text. It comes from what was analyzed, and when it was analyzed.
The nexya Cookies module stems from this observation. It analyzes the site to find the third-party scripts it loads, derives a cookie policy from them, and holds those scripts until the visitor gives consent. Before running a new analysis, it is worth understanding what a scan sees and what escapes it.
What a scan sees, and what it doesn’t see
A scan reads the pages of the site just like a visitor would and notes the scripts and embedded content coming from elsewhere: audience measurement, advertising pixels, videos, maps, external fonts. It is a snapshot of the site at the time of the analysis.
This snapshot has blind spots, and they explain most of the incomplete lists. A service that only loads on a single page, which the scan did not visit, does not appear. A script added only for logged-in visitors, or only in the checkout funnel, may go unnoticed. A service loaded after a click, for example a map that opens in a window, also remains invisible as long as no one clicks.
Conversely, a list that is too long often comes from a service that was removed since: an old statistics extension, a pixel from a completed campaign, a video deleted from a page. If the policy was not regenerated after this removal, it continues to cite it.
- A rarely visited page that embeds a video or a map.
- A script reserved for logged-in visitors or the cart.
- Content that only loads after a click.
- A service deleted from the site but remaining in the published text.
A cookie policy is only as good as the latest analysis that produced it.
When an analysis gets stuck: what to look at
When the analysis doesn’t go all the way, the cause is usually external to the scan itself. A slow site that takes a long time to respond on certain pages, a page that returns an error, or a site closed by a maintenance page during work prevent the scan from reading what it needs to read.
The cache also deserves a look. If a caching extension or a service like Cloudflare serves an old version of the pages, the scan sees the scripts from that old version. Clear the cache before restarting the analysis, then restart it once the site is back to its normal state.
Finally, if a page throws an error, fix it first. A scan that stumbles on a broken page gives at best a partial list. It is better to have an orderly site and a rerun analysis than a policy published from an incomplete run.
- The site is open, with no active maintenance page.
- Page caching is cleared, including on Cloudflare if you use it.
- The main pages open without errors.
- Recently added services are properly in place before the analysis.
Getting a cookie policy that matches the site, in four steps
-
1
Activate the Cookies module from the hub
In the nexya hub, turn on the Cookies module. As long as it is turned off, it records nothing on the site.
-
2
Prepare the site, then start the analysis
Open the site if it is closed by a coming-soon page, clear the page cache, and check that the main pages open without errors. Then start the analysis, which detects the third-party scripts loaded by the site.
-
3
Compare, correct, restart
Compare the result with the list of services you know are installed. For a missing service, open the page that loads it and rerun the analysis. For an extra service, actually remove it from the site before regenerating the policy.
-
4
Verify blocking before consent
Open a page with a video or a pixel in a private window. Before consent, the video must display a placeholder instead of the player, and only load once the category is accepted.
Services that are missing or no longer exist
Once the scan is finished, compare its result with what you know about the site. Make a list of tools installed over the years: statistics, pixels, chat, YouTube or Vimeo videos, maps, reviews, fonts. Every service you know about that the scan didn’t find likely points to a page it didn’t see.
In this case, open the page that loads this service, verify that it displays correctly, and then rerun the analysis. For a service that only displays after a click, keep it in mind: it is up to you to verify that it appears in the published text.
For extra services, the process is the reverse. Verify that they have truly left the site: extension deactivated and deleted, code removed from the theme or tag manager. A script left in a theme header field continues to load even when the extension that added it has disappeared. The scan is then right, and it is the site that needs cleaning.
Then regenerate the cookie policy. Make a habit of doing this after every addition or removal of a service, rather than once a year.

Block before consent, not just declare
An accurate policy is not enough if scripts load before the visitor has responded. This is the other frequent question on the forums: a pixel or a video fires before consent, or fails to return after consent.
In the Cookies module, third-party scripts and embedded content wait for consent. They are neutralized server-side until the visitor gives consent, category by category. An embedded video displays a placeholder instead of the player, and only loads once the category is accepted.
The module supports Google Consent Mode v2: Google tools receive the consent status, whether granted or denied, and apply it. A service listed in the policy but loaded without waiting does not comply with what the text states. Therefore, check both: the list and the blocking.
What is free, what requires nexya Pro
The Cookies module is part of the free version, for as many sites as you want: the consent banner, third-party scripts held back until consent is given, the analysis that finds them, and Google Consent Mode v2.
nexya Pro adds two things to this module: the ability to adjust the appearance of the banner, and service-by-service consent, so that a visitor can, for example, accept a video without accepting an advertising pixel from the same category. nexya Pro is sold on nexya.dev and retains the settings from the free version.
Like all nexya modules, Cookies is activated from the hub. As long as it is turned off, it records nothing: none of its hooks run on the site.
FAQ
Why does my cookie policy cite a service I no longer use?
Either the policy has not been regenerated since the service was removed, or the script is still loading somewhere, for example in a theme header field. Check the site, then rerun the analysis and regenerate the text.
Cookie analysis doesn't finish, what should I check first?
Make sure the site is open without a coming-soon page, the page cache is cleared, and the main pages open without errors. Then rerun the analysis.
Does a service loaded after a click appear in the scan?
A scan reads pages like a visitor who doesn't click. Content that only loads after an action may be missed by it: check for yourself that it appears in the published policy.
Is service-by-service consent free?
No. The free version blocks scripts category by category with Google Consent Mode v2. Service-by-service consent and the appearance of the banner are part of nexya Pro.
The modules in this post
Try nexya Pro free for 7 days
Every module, forms, newsletters and the page cache, on your site. No commitment.