@highlight-run/gatsby-plugin-highlight

Gatsby plugin for adding Highlight error monitoring and session recording.

Usage no npm install needed!

<script type="module">
  import highlightRunGatsbyPluginHighlight from 'https://cdn.skypack.dev/@highlight-run/gatsby-plugin-highlight';
</script>

README

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.

Links