Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/padfever/gatsby-plugin-reddit-pixel

A Gatsby plugin to add the reddit pixel onto a site
https://github.com/padfever/gatsby-plugin-reddit-pixel

gatsby gatsby-plugin gatsbyjs javascript reddit reddit-ads reddit-conversions

Last synced: 2 months ago
JSON representation

A Gatsby plugin to add the reddit pixel onto a site

Awesome Lists containing this project

README

        

# 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

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