gabefromutah / gatsby-plugin-facebook-pixel

Gatsby plugin to add facebook pixel onto a site
15 stars 21 forks source link

How do I pass content id for items on an ecom site? #16

Open Twoy519 opened 3 years ago

Twoy519 commented 3 years ago

Hi! Sorry potentially stupid question but I'm trying to use FB ads and synch my items with facebook. They require I pass them content ids: https://developers.facebook.com/docs/facebook-pixel/implementation/dynamic-ads/

How do I do that with this plugin? I have react-helmet installed and can populate the id of the item on each page but I'm very new to this and don't know how to forward that on to Facebook?