gatsby-plugin-convert-com-js

1.0.0 • Public • Published

gatsby-plugin-convert-com-js

A lightweight plugin to easily add Convert.com JS snippet to your site.

Install

  • NPM: $ npm install --save gatsby-plugin-convert-com-js
  • YARN: $ yarn add gatsby-plugin-convert-com-js

How to use

Setup

In your gatsby-config.js file:

plugins: [
  {
    resolve: `gatsby-plugin-convert-com-js`,
    options: {
      // The main tracking code can be found in the Project Settings in your convert.com project.
      projectId: `CONVERT_COM_PROJECT_ID`,
      // boolean (defaults to true); whether to load when the environment is not production
      requireProduction: true
    },
  },
];

Package Sidebar

Install

npm i gatsby-plugin-convert-com-js

Weekly Downloads

20

Version

1.0.0

License

MIT

Unpacked Size

5.35 kB

Total Files

10

Last publish

Collaborators

  • shawnc