Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub


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


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

How to use


In your gatsby-config.js file:

plugins: [
    resolve: `@crometrics/gatsby-plugin-optimizely-js`,
    options: {
      // The optimizely id of the project. 
      // This is the number that appears in the snippet.
      optimizelyId: '123456789',
© 2023 Gatsby, Inc.