gatsby-plugin-reddit-pixel

A Gatsby plugin to add the reddit pixel onto a site

BSD-3-CLAUSE License

Downloads
514
Stars
4
Committers
1

gatsby-plugin-reddit-pixel

A Gatsby plugin to add the reddit pixel onto a site. At this time, 'ViewContent' event is triggered via onRouteUpdate.

Install

npm install --save gatsby-plugin-reddit-pixel

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-reddit-pixel`,
    options: {
      pixelId: 'pixel id here',
    },
  },
];