Easily add Splitbee to your Gatsby site.
npm install --save gatsby-plugin-splitbee
// In your gatsby-config.js
plugins: [
{
resolve: `gatsby-plugin-splitbee`,
options: {
includeInDevelopment: false,
delayTimeout: 0,
disableCookie: false
},
},
]
includeInDevelopment
- Optional. Defaults tofalse
delayTimeout
- Optional. Number of milliseconds to wait before loading the Splitbee. Defaults to0
disableCookie
- Optional. Disables usage of cookies. Defaults tofalse
. Currently in beta, see here for details.