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://docs.highlight.run/reference#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.