The consent manager was missing from almost every page view
Privacy compliance98.9%of page views loaded the consent manager, up from under 1.5%
- The problem
- Flex falls under California privacy law (CPRA), so visitors must be able to say no to tracking. The tool that recorded their choice was loading on under 1.5% of production page views, because a feature-flag gate kept it switched off.
- What I did
- I found the gate and removed it. I also rebuilt the “Do Not Sell” handling on the consent vendor’s own APIs, so one opt-out stopped Google Tag Manager and every vendor pixel.
- The result
- Coverage went from under 1.5% to 98.9% of page views, checked in Amplitude with no tag-manager errors.
- Behind it
- It sat on a tracking platform I designed and owned: identity, Amplitude, Transcend Airgap and Google Tag Manager across the Webflow and Unbounce sites, delivered as 8 scripts from a CDN with QA and production switching, pinned integrity hashes and snapshot rollback.
- Visitor arrives
- Consent manager loads
- Visitor chooses
- Tags and pixels run only if yes
- Transcend Airgap
- Google Tag Manager
- Amplitude
- Webflow
- Unbounce
- CloudFront