The California Consumer Privacy Act (CCPA), effective July 1, 2020, is a statute intended to enhance privacy rights and consumer protection for residents of California, United States. It applies to companies (regardless of where they are based) who process personal data about individuals in the state of California.
Businesses operating in California are responsible for implementing code to comply with CCPA.
Implementation | Adding Data Processing Options |
---|---|
Browser Pixel | Update pixel initialization code to specify the To explicitly not enable Limited Data Use (LDU) mode, use: fbq('dataProcessingOptions', []); fbq('init', '{pixel_id}'); fbq('track', 'PageView'); To enable LDU mode using geolocation, use: fbq('dataProcessingOptions', ['LDU'], 0, 0); To enable LDU for users and specify user geography: fbq('dataProcessingOptions', ['LDU'], 1, 1000); |
Image tag | Add the following to the Pixel image tag:
See Reference for accepted values. To explicitly not enable LDU mode, pass an empty value for the 'dpo' parameter: <img src="https://www.facebook.com/tr?id={pixel_id}&ev=Purchase&dpo=" /> To enable LDU with geolocation: <img src="https://www.facebook.com/tr?id={pixel_id}&ev=Purchase&dpo=LDU&dpoco=0&dpost=0" /> To enable LDU and specify user geography: <img src="https://www.facebook.com/tr?id={pixel_id}&ev=Purchase&dpo=LDU&dpoco=1&dpost=1000" /> |