gatsby-plugin-drip-widget
v1.0.2
Published
⚛️ 📥 ➡️ A Gatsby.js plugin that provides the Drip widget script for you to use in any Gatsby.js website.
Downloads
7
Maintainers
Readme
gatsby-plugin-drip-widget
Allows you to embed the Drip form JavaScript code into every page of a Gatsby.js website.
Install
npm install --save gatsby-plugin-drip-widget
Or with yarn
yarn add gatsby-plugin-drip-widget
How to use
In your gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-plugin-drip-widget`,
options: {
account: '<your-drip-account-id>' // Get it by going to "Account => Site setup" and look for `_dcs.account`
},
},
],
}
Notes
Currently there is only support for the Drip widget (through JavaScript), but a companion Drip form component should be available soon for the people who want to embed the form.