Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/padfever/gatsby-plugin-reddit-pixel
- Owner: padfever
- License: bsd-3-clause
- Created: 2020-09-18T19:09:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-18T19:34:26.000Z (over 4 years ago)
- Last Synced: 2024-09-28T14:01:21.132Z (3 months ago)
- Topics: gatsby, gatsby-plugin, gatsbyjs, javascript, reddit, reddit-ads, reddit-conversions
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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',
},
},
];
```