Error Report Interactions
| Interaction Name | Description |
|---|---|
| error | Captures errors that occur on your site. |
Fields
| Field | Details |
|---|---|
| attributes |
|
| id |
|
| name |
|
Error Report Event
1event.target.dispatchEvent(
2 new CustomEvent('experience_interaction', {
3 bubbles: true,
4 composed: true,
5 detail: {
6 name: 'error',
7 id: 'error-id-1',
8 attributes: {
9 type: "api-error",
10 message: "503: service not available"
11 },
12 },
13 })
14);