Facebook have added some features to help business stay compliant with CCPA. They have added new data processing options to help achieve this.
Configuring the Pixel
In order to set data processing options in the pixel, simply load Facebook's pixel code and set the data processing options before the Nosto client script is loaded. Our client script then fires pixel events in the usual manner.
The example below enables LDU mode using geolocation. You can learn more about these data processing options in Facebook's own LDU guide.
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('dataProcessingOptions', ['LDU'], 0, 0);
</script>
Offline Conversion Tracking
We have no plans to support the data processing options in our Offline Conversion Tracking feature. This feature can be turned off from the Facebook dashboard in our admin by turning off the setting labelled Send order receipt data to Facebook.