项目作者: DevanB

项目描述 :
Gatsby plugin to add Splitbee (https://splitbee.io) to a Gatsby site
高级语言: JavaScript
项目地址: git://github.com/DevanB/gatsby-plugin-splitbee.git
创建时间: 2020-05-05T22:26:48Z
项目社区:https://github.com/DevanB/gatsby-plugin-splitbee

开源协议:MIT License

下载


gatsby-plugin-splitbee

Easily add Splitbee to your Gatsby site.

Install

npm install --save gatsby-plugin-splitbee

How to use

  1. // In your gatsby-config.js
  2. plugins: [
  3. {
  4. resolve: `gatsby-plugin-splitbee`,
  5. options: {
  6. includeInDevelopment: false,
  7. delayTimeout: 0,
  8. disableCookie: false
  9. },
  10. },
  11. ]

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 for details.