A Gatsby plugin to add the reddit pixel onto a site. At this time, 'ViewContent' event is triggered via onRouteUpdate.
npm install --save gatsby-plugin-reddit-pixel
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-plugin-reddit-pixel`,
options: {
pixelId: 'pixel id here',
},
},
];