Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

Official Highlight SDK for GatsbyJS

Register the package as a plugin in gatsby-config.js:

module.exports = {
  plugins: [
    {
      resolve: "@highlight-run/gatsby-plugin-highlight",
      options: {
        orgID: 'MY_ORG_ID',
        // See all the options here: https://www.highlight.io/docs/sdk/client#options
        disableNetworkRecording: false,
        disableConsoleRecording: false,
        enableStrictPrivacy: false,
   	    environment: 'production',
        version: '5.2.3',
        networkRecording: true,
      }
    },
  ]
}

Options will be passed directly to H.init. See all available options in our docs.

© 2024 Gatsby, Inc.