Skip to content

fix(analytics): keep QA tag after reject → accept - #900

Open
unjica wants to merge 1 commit into
developfrom
fix/ga-qa-flag-reject-accept
Open

unjica wants to merge 1 commit into
developfrom
fix/ga-qa-flag-reject-accept

Conversation

@unjica

@unjica unjica commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

QA (2026-10-30 consent verify, scenario 4): after reject → accept, hits lacked traffic_type=internal because ?qa=1 was gone from the URL by accept time and nothing is stored pre-consent.

  • qa-visit.ts: the QA signal seen at app load is kept in memory only; isQaVisit() (called only after consent) uses it and persists the cookie/tab flag then. No pre-consent storage.
  • Tests: lib/qa-visit-load.test.ts.

Refs #893. Do not merge/release yet.

@unjica unjica mentioned this pull request Oct 30, 2026
2 of 6 tasks

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants