StatuteCase file
HAXCMS (real open-source template)
Fixed and proven

Reject means reject

Kane caught a visitor being tracked after they clicked “Reject”. Claude Code fixed it. Kane proved the fix.

2 → 0tracker requests without consent
2rounds
3Kane runs in a real browser
49.9Kane credits
Exhibit A · what Kane recorded

Kane found no way to refuse cookies, and 2 tracker requests went out before the visitor made any choice.

Kane's screenshot, step 5: Waiting confirm the reloaded About page remains available. The outline marks what it clicked.
WhenTrackerRequestTimesVisitor ID sent
During the visitgoogletagmanager.com tag manager code only, not countedGET www.googletagmanager.com/gtag/js2
During the visitgoogle-analytics.comPOST www.google-analytics.com/g/collect2540902686.1794831023
What happened
  1. Round 1 · Kane · Reject means reject

    Violation

    Kane found no way to refuse cookies, and 2 tracker requests went out before the visitor made any choice.

    1. Step 1: Navigate to http://localhost:8095/1 Navigate to http://localhost:8095/
    2. Step 2: A cookie or analytics consent banner is shown.2 A cookie or analytics consent banner is shown.
    3. Step 3: Waiting no action is required3 Waiting no action is required
    4. Step 4: Clicking About in the left site navigation4 Clicking About in the left site navigation
    5. Step 5: Waiting confirm the reloaded About page remains available5 Waiting confirm the reloaded About page remains available
    Step 1 · Navigate to http://localhost:8095/Step 2 · A cookie or analytics consent banner is shown.Step 3 · Waiting no action is requiredStep 4 · Clicking About in the left site navigationStep 5 · Waiting confirm the reloaded About page remains available
  2. Round 1 · Claude Code

    Changed the app

    Wrong: index.html and ghpages.html loaded the Google tag (gtag) as soon as haxcms-ready fired, with no consent check and no way to refuse.

    Changed: loadAnalyticsFromManifest() now loads the tag only if the stored choice is "granted", stops if it's "denied", and otherwise shows an Accept/Decline banner; Accept saves the choice and loads the tag, Decline saves it and nothing loads. I haven't run it in a browser, and node --check can't check JavaScript inside HTML files.

  3. Round 2 · Kane · Reject means reject

    Proven

    Kane refused cookies and recorded 312 requests; none went to a known tracker and no visitor ID was sent.

    1. Step 1: Navigate to http://localhost:8095/1 Navigate to http://localhost:8095/
    2. Step 2: No cookie or analytics consent banner is shown.2 No cookie or analytics consent banner is shown.
    3. Step 3: Clicking Decline on the cookie consent dialog3 Clicking Decline on the cookie consent dialog
    4. Step 4: Clicking About in the top navigation4 Clicking About in the top navigation
    5. Step 5: Waiting confirm the reloaded About page remains visible5 Waiting confirm the reloaded About page remains visible
    Step 1 · Navigate to http://localhost:8095/Step 2 · No cookie or analytics consent banner is shown.Step 3 · Clicking Decline on the cookie consent dialogStep 4 · Clicking About in the top navigationStep 5 · Waiting confirm the reloaded About page remains visible
  4. Round 2 · Kane · Accept still works

    Proven

    After "Accept", the tags loaded as intended (google-analytics.com).

    1. Step 1: Navigate to http://localhost:8095/1 Navigate to http://localhost:8095/
    2. Step 2: Clicking Accept in the cookie consent banner2 Clicking Accept in the cookie consent banner
    3. Step 3: Clicking About in the top navigation3 Clicking About in the top navigation
    4. Step 4: Waiting after opening one page from the site's navigation4 Waiting after opening one page from the site's navigation
    Step 1 · Navigate to http://localhost:8095/Step 2 · Clicking Accept in the cookie consent bannerStep 3 · Clicking About in the top navigationStep 4 · Waiting after opening one page from the site's navigation
The rule

When a visitor refuses cookies, no advertising or analytics tracker may load, before the choice or after it, and no visitor ID may be sent to a tracker.

Why it matters
  • ePrivacy Directive 2002/58/EC, Art. 5(3): storing or reading non-essential data on a device needs prior consent
  • GDPR (EU) 2016/679, Art. 4(11) and Art. 7: consent must be freely given and as easy to withdraw as to give
  • California Civil Code §1798.120 (CCPA/CPRA): consumers may opt out of the sale or sharing of their personal information