0.0.5 • Published 4 years ago

gatsby-plugin-leadfeeder v0.0.5

Weekly downloads
197
License
MIT
Repository
github
Last release
4 years ago

Leadfeeder Plugin

This plugin is intended for inserting the Leadfeeder Tracker in the <header> section of all the pages of your Gatsby website.

Install

With npm

npm install gatsby-plugin-leadfeeder

With yarn

yarn add gatsby-plugin-leadfeeder

How to use

Add an entry for the plugin in gatsby-config.js:

module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-leadfeeder`,
      options: {
        key: "YOUR_LEADFEEDER_KEY",
      },
    },
  ],
}

Caveats

The plugin does not work on development mode, just on production as a result of a Gatsby build.

To test the plugin:

yarn build && yarn serve