Use this workflow when
Use this workflow when you notice a JavaScript error increasing, when users report a broken interaction, or when you need to understand whether one script affects a high-value page or journey.
Use these questions to move from the error message to a useful hypothesis:
- Where does it occur? Check the page, page group, device, browser, or segment.
- When did it start? Compare the error trend with a release or implementation change.
- How many users are affected? Compare Error count with Sessions with errors and Error rate.
- Does it block a valuable action? Review Session Replay and supported goal-impact metrics.
- Is the error specific to one script? Filter by the JavaScript file name when available.
- Is the message generic? Check whether the result is a cross-origin Script error.
Find JavaScript errors quickly
- From the Sessions with errors widget, filter the list on JS errors.
Use the widget to identify high-volume or high-rate errors. - From the Error Explorer, apply the JS error filter.
Use the Error Explorer when you need more filters or want to inspect all matching errors.
Read JavaScript Error details
Open Error Detail to understand both what failed and how many users were affected.
| Detail | What it tells you |
| Error message | What the browser or application reported. Look for the action, object, or operation that failed. |
| Error type | Whether the result is a JavaScript error or the generic Script error result. |
| Source or file name | Which script or source file produced the error, when the browser makes that information available. |
| Line and column | Where the browser located the error in the source file, when available. |
| Page or screen context | Where users encountered the error. Use it to identify the affected journey or component. |
| Error group | The normalized group used to combine similar occurrences. Use the group when you compare reach or exclude an issue. |
| Sessions with errors | How many sessions encountered the error in the selected context. |
| Error count | How many occurrences were recorded. One session can contribute more than one occurrence. |
| Browser or device context | Whether the error is concentrated in a browser, device type, or other available dimension. |
| Stack or source details | Technical context when the browser and script configuration expose it. Stack traces are not a committed Experience Platform capability for the first release. |
Use the error message and source details together.
A message such as Cannot read properties of undefined identifies the failure pattern, while the source file, line, page, and user action help you locate the affected implementation.
A high Error count can come from repeated failures in a small number of sessions. Use Sessions with errors to measure reach and Error rate to compare contexts with different session volumes.
Interpret the error impact
Not all JS errors have a real impact on the user experience. JavaScript errors range in severity, from being completely invisible to the user to completely breaking a web page.
| Some JS errors are totally transparent to the visitor | Some JS errors are impacting the UI but not affecting the global user experience | Some JS errors have critical impact to the user experience |
|
|
|
Use Session Replay to visualize the failure
To better understand the severity of an error, use impact metrics . You can also directly visualize the customer’s behavior in Session replay:
From the list view or from the Error Detail:
- Click See Replays when the action is available.
- Open a related Session Replay.
- Use the event stream to locate the moment when the error occurred.
- Review the clicks, page changes, and other events immediately before the error.
- Check the user behavior after experiencing the error: whether the user retried their action, abandoned their journey, switched pages…
Session Replay helps you understand what users were trying to do. It gives behavioral details that help understand if the error is to be prioritized or not, independently of technical details.
Understand Script errors
A generic Script error usually means that the browser has hidden details for a script loaded from another domain. When that happens, Error Detail might not show the source file, line, or original message.
Use the dedicated How to unmask Script errors article when you control the script and its server. Some third-party scripts cannot be unmasked.
Share or escalate the finding
Before you share a JavaScript error:
- Confirm the application, environment, data source, date range, and Analysis Context.
- Include the error group, message, source file, affected page, and sessions with errors.
- Add a Session Replay link when appropriate.
- Remove personal or confidential data from copied details.
- Create a Jira issue when another team needs to act on the finding.
Related articles
- Unmask script errors
- Assess an error impact
- Configure Errors data collection
- Create Jira issues from Errors