Skip to content

padfever/gatsby-plugin-reddit-pixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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