Closed theweiweiway closed 5 years ago
Hello,
not working for me
import ReactPixel from 'react-facebook-pixel';
default export is not declared in imported module import
version 0.1.3
plis!
Clean to npm
Edit version to "react-facebook-pixel": "0.1.1"
and install
working for me!
sorry im an idiot. my adblocker was on
Hi, this is a very n00b issue but I am using this library with the Facebook Pixel Helper chrome extension and it is not detecting any pixels
Am I setting everything up right? My App.js looks like this:
import ReactPixel from 'react-facebook-pixel';
componentDidMount() {
ReactPixel.init('my_id_here', {}, { autoConfig: false })
ReactPixel.pageView();
}
Is there something glaring I am doing wrong? I can't figure it out. Thanks