PECR cookie consent on Cloudflare Pages
Most UK cookie tools assume WordPress. Static sites and Cloudflare Pages micro-sites still need a genuine reject when you use non-essential cookies, and Companies Act disclosures on the site you operate.
What PECR expects (in plain terms)
The Privacy and Electronic Communications Regulations (PECR) set rules for cookies and similar storage or access technologies. The ICO's guidance covers how to tell people what you use, and when consent is required. Non-essential cookies should not run until the user has a clear, free choice, including a way to refuse.
Read the ICO's guidance on storage and access technologies and the Guide to PECR: cookies and similar technologies. This page is not legal advice; check the official guidance for your own site.
What limited companies must show on a website
GOV.UK states that on websites (and business letters and order forms) you must show the company's registered number, registered office address, where it is registered, and that it is a limited company (usually via the full registered name). See Signs, stationery and promotional material. The statutory framework sits in Companies Act 2006 s.82 and the Companies (Trading Disclosures) Regulations 2008.
Do not invent Companies House values. Fill them from your own records before any public publish.
What pecrpage does
pecrpage is a one-script banner and footer helper aimed at Cloudflare Pages installs:
- Accept and Reject non-essential as equal choices (no cookie wall).
- Consent Mode defaults denied until Accept.
- Companies Act footer fields from your
config.json.
It is not a full enterprise consent platform, and it does not replace your privacy policy or your duty to configure accurate company facts.
Install
See the install page for self-host and remote script steps. Short version:
<script src="https://pecrpage.pages.dev/js/banner.js" defer data-config="/config.json"></script>
Keep config.json on your own site with real company details. Do not invent
Companies House values.