gatsby-plugin-facebook-pixel

1.0.8 • Public • Published

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",
    },
  },
];

Package Sidebar

Install

npm i gatsby-plugin-facebook-pixel

Weekly Downloads

4,980

Version

1.0.8

License

MIT

Unpacked Size

3.56 kB

Total Files

9

Last publish

Collaborators

  • gscopet