Closed Rupeshn73 closed 7 years ago
I cannot see any particular issue with the code. Please check this.props.productDetails.product_name
& price
have some value assigned to them.
Ya they have value assigned.I am also able to see purchase event in Facebook Pixel Helper.But not able to see it in developer account of Facebook.
It is working .My mistake facebook took some time to show details regarding custom Event.Thanks for react facebook pixel plugin.
Glad that it helped you :)
I have created global file for pixel function and then deriving those function into my components
ex
Component.js
import {initFB,pageViewFB,trackPurchaseFB} from "../components/Analytics"
As per the above code my pageView pixel are getting tracked but ,unfortunately facebook pixel is not able to track Purchase Event.Will you please suggest that I have done anything wrong or there might be some additions are needed.