gabefromutah / gatsby-plugin-facebook-pixel

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

I want to use my own ViewContent #14

Open daiky00 opened 3 years ago

daiky00 commented 3 years ago

I want to use my own ViewContent event. how do I disable the internal view content event that the plugin has? for instance I am doing this for my ViewContent with your plugin

fbTrack('track', 'ViewContent', {
      value: currentVariant.price,
      currency: 'USD',
      content_type: 'product',
      content_ids: currentVariant.sku,
    });

But I see the plugin is doing it is own recording for that same event what should I do?

and also what content_ids is that event using?

daiky00 commented 3 years ago

@gabefromutah your help will be very appreciated

daiky00 commented 3 years ago

@gabefromutah can you please help me?