Blog · 2026-11-18

How to tell if your Meta Pixel fires before consent

The Meta Pixel is one of the most common reasons a cookie banner doesn't do what it says. It's easy to add, it's often added by someone in marketing rather than development, and it starts reporting the moment its script runs. If that happens before the visitor has chosen anything, the banner has already lost.

Why it fires too early

How to check

  1. Open your site in a private window with developer tools on the Network tab.
  2. Reload and, before touching the banner, filter requests for facebook and fbevents. A request to facebook.com/tr is the pixel reporting an event.
  3. If you see it before any click, it fires without consent.
  4. Click Reject, reload, and look again. It should still be absent.
  5. Only after Accept should it appear.

You can also install Meta's own debugging helper in your browser, but it tells you the pixel is installed, not whether it waited for consent.

How to fix it

Then check again. A fix that isn't re-tested is a guess.

Let a scan do the clicking

TrackerGrade runs the before-click, Reject and Accept passes for you and lists each tracker it finds at each step, the Meta Pixel included. It's free and takes under a minute. It's a technical check, not legal advice: what your consent rules require depends on where your visitors are and on your own situation.

Grade your own site

Free, no sign-up. It takes 10 to 30 seconds.