react-facebook-pixel icon indicating copy to clipboard operation
react-facebook-pixel copied to clipboard

How do you set up dataProcessingOptions with react-facebook-pixel?

Open igmodop opened this issue 4 years ago • 1 comments

I tried something like this:

    const advancedMatching = {}; 
    const options = {
        autoConfig: true, 
        debug: false,    
    };
    ReactPixel.fbq('dataProcessingOptions', ['LDU'], 0, 0);
    ReactPixel.init('xxxxx', advancedMatching, options);
    ReactPixel.pageView();

But it didn't work. What am I missing?

igmodop avatar Nov 26 '20 22:11 igmodop

I'm assuming this component does not support the option. This was a new adition to facebook's fbq...

JuanuMusic avatar Dec 23 '21 14:12 JuanuMusic