Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DevanB/gatsby-plugin-splitbee
Gatsby plugin to add Splitbee (https://splitbee.io) to a Gatsby site
https://github.com/DevanB/gatsby-plugin-splitbee
gatsby gatsby-plugin react splitbee
Last synced: 20 days ago
JSON representation
Gatsby plugin to add Splitbee (https://splitbee.io) to a Gatsby site
- Host: GitHub
- URL: https://github.com/DevanB/gatsby-plugin-splitbee
- Owner: DevanB
- License: mit
- Created: 2020-05-05T22:26:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-02T21:24:14.000Z (over 3 years ago)
- Last Synced: 2024-05-16T15:21:38.916Z (6 months ago)
- Topics: gatsby, gatsby-plugin, react, splitbee
- Language: JavaScript
- Homepage: https://www.gatsbyjs.org/packages/gatsby-plugin-splitbee/?=splitbee
- Size: 9.77 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# gatsby-plugin-splitbee
Easily add [Splitbee](https://splitbee.io/) to your Gatsby site.
## Install
`npm install --save gatsby-plugin-splitbee`## How to use
```javascript
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-plugin-splitbee`,
options: {
includeInDevelopment: false,
delayTimeout: 0,
disableCookie: false
},
},
]
```## Configuration
- `includeInDevelopment` - Optional. Defaults to `false`
- `delayTimeout` - Optional. Number of milliseconds to wait before loading the Splitbee. Defaults to `0`
- `disableCookie` - Optional. Disables usage of cookies. Defaults to `false`. Currently in beta, see [here](https://splitbee.io/blog/javascript-library) for details.