gatsby-plugin-ada-chatbot

2.0.2 • Public • Published

gatsby-plugin-ada-chatbot

This plugin adds an ada chatbot to your website.

Install

npm i gatsby-plugin-ada-chatbot

Usage

Add the plugin to your gatsby-config.js file and ensure that the required 'handle' option is set.

// gatsby-config.js

plugins: [
  {
    resolve: `gatsby-plugin-ada-chatbot`,
    options: {
      handle: 'my-ada-handle'
    }
  }
]

Options

You can customize the chatbot by using the following plugin options.

Name Description Type Default
handle Required. The handle (ID) for your ADA chatbot. String
delay Optional. The delay (in milliseconds) before the ADA chatbot displays. Number 0
zIndex Optional. The Z-Index of the ada frame. Number 1000
dismissButton Optional. Whether or not a dismiss button should display. Boolean true
dismissDuration Optional. The delay (in milliseconds) until the chatbot should show again after dismissal. Set to 'session' to use the duration of the user's session. Number or String session
adaSettings Optional. The settings object ingested by the ADA chatbot upon load. Object {}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    0
    • latest

Version History

Package Sidebar

Install

npm i gatsby-plugin-ada-chatbot

Weekly Downloads

4

Version

2.0.2

License

ISC

Unpacked Size

13.7 kB

Total Files

12

Last publish

Collaborators

  • timziegel