Skip to content

Conversation

@gpsamson
Copy link
Contributor

@gpsamson gpsamson commented Jul 20, 2020

What does this PR do?
Updates FB Pixel's data processing logic to look for preset options on the window object. If valid parameters are set on window.fbDataProcessingOptions we'll pass those to the Pixel SDK. If the parameters set on the window objects are undefined or invalid then we'll fallback to these default options: ['LDU'], 0, 0.

For more information on valid values see: https://developers.facebook.com/docs/marketing-apis/data-processing-options#reference

Are there breaking changes in this PR?
Nah

Any background context you want to provide?

Is there parity with the server-side/android/iOS integration components (if applicable)?
server-side and iOS will be updated to support preset options

Does this require a new integration setting? If so, please explain how the new setting works

Links to helpful docs and other external resources

Test Plan

  • Unit tests
  • Testing completed successfully end-to-end in staging

Rollback Procedure

  • Revert this PR

@gpsamson gpsamson requested a review from brennan July 20, 2020 18:53
@gpsamson gpsamson requested a review from brennan July 21, 2020 22:01
@gpsamson
Copy link
Contributor Author

Hey @brennan - just re-requesting your review as we tweaked one line. Instead of reading from the window object we're reading from the settings :D

@gpsamson gpsamson merged commit 17e7c0c into master Jul 28, 2020
@gpsamson gpsamson deleted the gps/ldu-defaults branch July 28, 2020 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants