Star us on GitHub

Versioning Sessions & Errors

When using, it can be useful to know which version of your app a session or error is recorded on. 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 '' H.init('<YOUR_PROJECT_ID>', { version: process.env.REACT_APP_VERSION, }) ReactDOM.render(<App />, document.getElementById('root'))

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