Financial-Times / x-dash

:x::heavy_minus_sign::newspaper: shared front-end components for FT.com and the FT Apps
https://financial-times.github.io/x-dash
38 stars 6 forks source link

Privacy Manager - Setting permutiveAds as a consent category value #753

Closed andrewgeorgiou1981 closed 9 months ago

andrewgeorgiou1981 commented 9 months ago

In preparation for the rollout of the new Sourcepoint based Consent Management System (CMP) there is a small update required to ensure that the CCPA consent toggle choices are respected in the ads-stack. Specifically, when the new CMP is live, the ad-stack will check for the permutiveAds value in the FTCONSENT cookie / SCS when determining wether or not to run Permutive code.

This small PR ensures that the CCPA block/allow toggles will set the new 'permutiveAds' category value in the SCS and FTCONSENT cookie.