diff --git a/integrations/facebook-pixel/HISTORY.md b/integrations/facebook-pixel/HISTORY.md index 8bd36ed00..eaeb0eb55 100644 --- a/integrations/facebook-pixel/HISTORY.md +++ b/integrations/facebook-pixel/HISTORY.md @@ -1,3 +1,8 @@ +2.11.2/ 2020-07-28 +================== + + * Explicitly not enable Limited Data Use (LDU) mode in the FB Pixel SDK when the Limited Data Use Segment setting is disabled. + 2.11.1/ 2020-07-22 ================== diff --git a/integrations/facebook-pixel/lib/index.js b/integrations/facebook-pixel/lib/index.js index 6c471b36b..62dbdc08f 100644 --- a/integrations/facebook-pixel/lib/index.js +++ b/integrations/facebook-pixel/lib/index.js @@ -107,6 +107,9 @@ FacebookPixel.prototype.initialize = function() { this.validateAndSetDataProcessing( this.options.dataProcessingOptions || [['LDU'], 0, 0] ); + } else { + // explicitly not enable Limited Data Use (LDU) mode + window.fbq('dataProcessingOptions', []); } if (this.options.initWithExistingTraits) { var traits = this.formatTraits(this.analytics); diff --git a/integrations/facebook-pixel/package.json b/integrations/facebook-pixel/package.json index 6e96ee045..cc9b7234b 100644 --- a/integrations/facebook-pixel/package.json +++ b/integrations/facebook-pixel/package.json @@ -1,7 +1,7 @@ { "name": "@segment/analytics.js-integration-facebook-pixel", "description": "The Facebook Pixel analytics.js integration.", - "version": "2.11.1", + "version": "2.11.2", "keywords": [ "analytics.js", "analytics.js-integration",