API Reference
Error Monitoring
Getting Started
Welcome to Highlight
Integrations
Product Features
Session Replay
Tips
Menu

Versioning Sessions

When using Highlight, it can be useful to know which app version a session is recorded on. Highlight helps you by letting you tag which app version a session was recorded on.

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

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

version is used for errors too, see Versioning Errors for more information.