Valhalla

Take a deep dive into our latest launch, the Valhalla Content Hub!

ContactSign Up for Free
Community Plugin
View plugin on GitHub

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',
    },
  },
];
© 2022 Gatsby, Inc.