gatsby-plugin-intercom-spa
v0.3.0
Published
Gatsby plugin to add intercom onto a site
Downloads
2,538
Readme
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 IDinclude_in_development- Optional. Defaults tofalsedelay_timeout- Optional. Number of milliseconds to wait before loading the Intercom widget. Defaults to0hide_default_launcher- Optional. Hide the launcher icon on load. Defaults tofalse
