Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-vwo-smartcode

Plugin to inject VWO SmartCode into the document head of your Gatsby website. This is required when creating a deployment to link your website with VWO.


Install

npm install gatsby-plugin-vwo-smartcode

How to use

Just add the plugin to the plugins array in your gatsby-config.js

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-vwo-smartcode`,
    options: {
      vwoAccountId: '<--VWO AccountId Here-->',
    },
  },
],

Inspired by the outdated VWO gatsby plugin by ynnoj.

© 2024 Gatsby, Inc.