Using highlight.io in any frontend framework
Add the following script tag to the head section of your
Grab your project ID from app.highlight.io/setup, and pass it as the first parameter of the
H.init() method. Place this method just below the initialize script tag in the
head section of your
To get started, we recommend setting
networkRecording. Refer to our docs on SDK configuration to read more about these options.
Identify users after the authentication flow of your web app. We recommend doing this in any asynchronous, client-side context.
The first argument of
identify will be searchable via the property
identifier, and the second property is searchable by the key of each item in the object.
The next step is instrumenting your backend to tie logs/errors to your frontend sessions. Read more about this in our backend instrumentation section.