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-js

A Gatsby plugin to add an Convert JS Snippet to your site.

Install

$ npm install --save @crometrics/gatsby-plugin-convert-js

How to use

Setup

In your gatsby-config.js file:

plugins: [
  {
    resolve: `@crometrics/gatsby-plugin-convert-js`,
    options: {
      // This is the number that appears in the snippet.
      convertId: '123456789-123456789',
    }
  }
];
© 2023 Gatsby, Inc.