1.0.0 • Published 4 years ago

gatsby-plugin-convert-com-js v1.0.0

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

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
    },
  },
];