Lead Feeder Plugin

This plug in 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-lead-feeder`

With yarn

yarn add gatsby-plugin-lead-feeder`

How to use

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

module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-lead-feeder`,
      options: {
        key: "YOUR_LEAD_FEEDER_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