Open davi-dv opened 3 years ago
It should not be $fb
and not $Fb
?
Maybe you are a typo issue.
Also, if you not use the version 1.5.0 you have probably this issue: https://github.com/WilliamDASILVA/nuxt-facebook-pixel-module/issues/26
Just use the last version. If you cannot, you will found the workarround from the previous linked issue. To test it's work, when you do `console.log($fb.enable) you should see a function code, not undefined.
how can i know if it's working?
I configured it in nuxt-config.js and then called within this component life cycle this. $ Fb.enable () and after that I added the pixel id with this. $ Fb.setPixelId (this.getPreferences.facebook_pixel ), I wonder if this way already works?