gatsby-plugin-intercom-spa

0.3.0 • Public • Published

gatsby-plugin-intercom-spa

Easily add Intercom to your Gatsby site.

Install

npm install --save gatsby-plugin-intercom-spa

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: 'gatsby-plugin-intercom-spa',
    options: {
      app_id: 'YOUR_INTERCOM_APP_ID',
      include_in_development: true,
      delay_timeout: 0,
      hide_default_launcher: false,
    }
  }
]

Configuration

  • app_id - Required. Your Intercom application ID
  • include_in_development - Optional. Defaults to false
  • delay_timeout - Optional. Number of milliseconds to wait before loading the Intercom widget. Defaults to 0
  • hide_default_launcher - Optional. Hide the launcher icon on load. Defaults to false

Package Sidebar

Install

npm i gatsby-plugin-intercom-spa

Weekly Downloads

538

Version

0.3.0

License

MIT

Unpacked Size

3.82 kB

Total Files

5

Last publish

Collaborators

  • berzniz