Staying safe

Built a website with AI? Check your tracking before it gets you in trouble

A cookie banner is not enough if tracking loads before anyone clicks Accept. What tracking pixels are, why they are causing lawsuits, and a prompt to check your own site.

5 min readShirlyneSoft Echoes
A person checking a website on a laptop.

AI makes it easy to build a website in an afternoon. It also makes it easy to ship something you do not fully understand, like a tracking pixel that watches visitors before they have said yes.

What a tracking pixel is

A tiny piece of code from companies like Meta or Google that records what visitors do on your site, often to measure ads. Many website builders and plugins add them, or similar trackers, without asking you.

Why it matters

In some places, collecting that data without consent is treated very seriously. In California, lawyers have brought many cases under an old wiretapping law, where damages can reach $5,000 per violation, and several companies paid multi-million-dollar settlements in 2026. The key question in those cases is timing: did the tracking start before the visitor clicked Accept? A banner that asks for permission while the tracker has already fired does not help.

Closer to home, laws such as Kenya’s Data Protection Act, Nigeria’s Data Protection Act and South Africa’s POPIA also expect you to be open about personal data and to collect only what you need.

This is general information

It is not legal advice, and rules differ by country. If you run a business that collects customer data, talk to a lawyer where you operate.

Check your own site

Paste into your AI coding helper
Review my website code and settings. List every analytics tool, tracking pixel, advertising script and third-party script it loads, and every cookie it sets. Then make sure none of them load until the visitor clicks Accept on the cookie banner. Anything that is not strictly needed for the site to work must wait for consent. Show me each change before you make it, and explain it in plain words.

The simplest fix of all

Do you actually need tracking? If you are not running ads, you may not. Removing it is the cleanest option. While writing this, we checked Soft Echoes too, and found leftover shop plugins setting cookies on page load. The fix is to switch them off, since nothing here is for sale.

More on staying in control: the safety setup that actually holds.