Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 715 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 715 Bytes

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