Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

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
    },
  },
];
© 2024 Gatsby, Inc.