
In this article
Most websites collect some personal data without the owner thinking about it: analytics, advertising pixels, embedded videos, contact forms and cookies set by plugins. Privacy rules expect you to know what your site collects and to tell visitors about it. This checklist shows how to find out and what to fix.
It applies to every platform, whether your site runs on WordPress, Shopify, Wix, Joomla, Magento or custom code. This guide is general information, not legal advice. For your own obligations, ask a qualified adviser.
What privacy rules generally expect
Laws such as the GDPR, the ePrivacy Directive, UK GDPR and India's DPDP Act differ in detail, but they share a few expectations for websites:
- Tell visitors what personal data you collect, and why.
- Ask for consent before setting non-essential cookies or loading trackers, such as advertising and many analytics tools.
- Link to a clear privacy policy, and a cookie policy where cookies are used.
- Give people a simple way to change or withdraw their choice.
- Protect the data you collect.
The rules that apply to you depend on where your visitors are, not only on where your business is.
Step 1: find out what your site really loads
You cannot write an accurate policy without knowing what the site does. Run the page through the cookie and privacy checker. It looks for analytics, advertising and session-recording tools, consent tools, privacy and cookie policy links, forms that collect personal data without a notice, third-party embeds, Google Fonts loaded from Google and cookies missing security flags. Once you know what the site does, the privacy policy and cookie policy generator drafts the matching pages for India, GDPR or US rules.
Scan more than the home page. Check a page with a form, a page with an embedded video and your checkout, because each can load different tools.
Step 2: sort cookies into two groups
- Essential: needed for the site to work, such as keeping items in a cart, logging in or remembering a security check. These usually do not need consent.
- Non-essential: analytics, advertising, personalisation and social media trackers. These usually need consent first in regions with consent rules.
Step 3: make the banner actually work
A banner that only displays a message is not enough. Check that:
- Non-essential trackers do not load until the visitor agrees. This is the most common failure.
- Accepting and rejecting are equally easy to choose.
- Visitors can change their choice later, for example from a link in the footer.
- Your choice is remembered, so the banner does not keep returning.
Note that tools added by a tag manager after consent may not show up in a page-source scan, so test the live behaviour in your browser's developer tools as well.
Step 4: write a privacy policy that matches reality
List what you collect, why, who receives it (for example your analytics, payment and email providers), how long you keep it and how people can ask to see or delete their data. Add a contact address. Make the policy easy to find from the footer and from any form that collects data.
Step 5: fix the technical gaps
- Cookie flags: set
Secure,HttpOnlyandSameSiteon cookies where they apply. - Forms: add a short notice and a link to the privacy policy beside every form that collects personal data.
- Third-party embeds: maps, videos and social widgets can set cookies. Load them only after consent, or use privacy-friendly embed modes.
- Fonts: loading Google Fonts from Google sends visitors' addresses to a third party. Hosting the font files yourself avoids that.
- HTTPS and headers: a secure connection and sensible security headers are part of protecting visitor data.
Step 6: review it regularly
Privacy gaps often appear after the setup is done: a new plugin adds a tracker, a marketing team adds a pixel, or an update changes how a tool behaves. Re-scan after every significant change and at least every few months. Unknown scripts can also be a sign of tampering, so if you find a tracker nobody added, run a malware check.
Common questions
Do I need a cookie banner?
If you use non-essential cookies or trackers and have visitors in regions with consent rules, usually yes. A site with only essential cookies may not need one, but it still needs a privacy policy if it collects personal data.
Is a privacy policy template enough?
Only if it matches what your site really does. A policy that lists tools you do not use, or misses ones you do, can cause problems.
Why did the scan find no trackers when I know I use some?
Tools loaded later by a tag manager, or only after consent, are not in the page source, so a scan cannot see them. Check them in your browser's network tab.
Does consent apply to small sites?
The rules are about the data you collect and who your visitors are, not the size of your site.
Free tools for this problem
- Cookie and privacy checker: Find trackers, cookie flags, consent tools and privacy policy links.
- Privacy policy and cookie policy generator: Create a privacy or cookie policy for India, GDPR or US rules.
- Security headers checker: Grade HSTS, CSP, clickjacking and referrer headers, with fixes to copy.
