Star us on GitHub
Star
Menu

Versioning Sessions & Errors

When using highlight.io, it can be useful to know which version of your app a session or error is recorded on. highlight.io helps you by letting you tag which app version a session and error was recorded on.

To tag your sessions with a version, you can set the version field in H.init().

import App from './App' import { H } from 'highlight.run' H.init('<YOUR_PROJECT_ID>', { version: process.env.REACT_APP_VERSION, }) ReactDOM.render(<App />, document.getElementById('root'))
Copy

Once setup, this version will then be rendered on both the error and session views.