1.1.2 • Published 4 years ago

gatsby-plugin-facebook-multi-pixels v1.1.2

Weekly downloads
29
License
MIT
Repository
github
Last release
4 years ago

gatsby-plugin-facebook-multi-pixels

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

Install

npm install --save gatsby-plugin-facebook-multi-pixels

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-facebook-multi-pixels`,
    options: [
      {
        dev: false,
        alias: 'pixelA',
        pixelId: 'pixel id here',
        viewContent: true,
        pageView: false,
      },
      {
        dev: true,
        alias: 'pixelB',
        pixelId: 'pixel id here',
        viewContent: false,
        pageView: true,
      },
    ],
  },
]
1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago