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.