Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
igmodop opened this issue Nov 26, 2020 · 1 comment
Open

Comments

@igmodop
Copy link

igmodop commented Nov 26, 2020

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?

@JuanuMusic
Copy link

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

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

No branches or pull requests

2 participants