https://github.com/toriihq/gatsby-plugin-intercom-spa
Gatsby plugin to add intercom onto a site
https://github.com/toriihq/gatsby-plugin-intercom-spa
gatsby-plugin gatsbyjs intercom
Last synced: 8 months ago
JSON representation
Gatsby plugin to add intercom onto a site
- Host: GitHub
- URL: https://github.com/toriihq/gatsby-plugin-intercom-spa
- Owner: toriihq
- Created: 2017-11-01T08:40:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-28T09:18:43.000Z (over 3 years ago)
- Last Synced: 2025-01-16T01:28:18.147Z (9 months ago)
- Topics: gatsby-plugin, gatsbyjs, intercom
- Language: JavaScript
- Size: 6.84 KB
- Stars: 25
- Watchers: 4
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gatsby-plugin-intercom-spa
Easily add Intercom to your Gatsby site.
## Install
`npm install --save gatsby-plugin-intercom-spa`## How to use
```javascript
// 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`