1.0.5 • Published 5 years ago

@basvasilich/gatsby-plugin-facebook-pixel v1.0.5

Weekly downloads
377
License
MIT
Repository
github
Last release
5 years ago

gatsby-plugin-facebook-pixel

Easily add Facebook Pixel to your Gatsby site. At this time, 'ViewContent' event is triggered via onRouteUpdate.

Install

npm install --save gatsby-plugin-facebook-pixel

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-facebook-pixel`,
    options: {
      pixelId: 'pixel id here',
      trackViewContent: false, // skip track ViewContent on route update
    },
  },
]