sendVariableUpdatedEvent
Parameter | Type | Description |
---|---|---|
varName | string | Name of the variable updated |
newValue | any | New value of the variable |
dashboardReadyToLoad
Parameter | Type | Description |
---|---|---|
dashboardId | string | ID of the dashboard from the URL param or HTML attribute. Empty string if not provided |
dashboardHeight | number | Estimated height in pixels of the dashboard. Use dashboardLoaded and dashboardUpdated events to get the actual height |
dashboardLoaded
Parameter | Type | Description |
---|---|---|
dashboardId | string | ID of the dashboard from the URL param or HTML attribute. Empty string if not provided |
dashboardHeight | number | Full height in pixels of the dashboard. Use to set the height of the iframe or Web Component |
loadTime | number | Time in milliseconds it took to fetch all data and render the dashboard. Does not include asset loading or component startup time. |
dashboardUpdated
Parameter | Type | Description |
---|---|---|
dashboardId | string | ID of the dashboard from the URL param or HTML attribute. Empty string if not provided |
dashboardHeight | number | Full height in pixels of the dashboard. Use to set the height of the iframe or Web Component |
analyticsEventFired
customerJwtExpired
error
dashboardFailed
JWT
or an invalid embed_id
/ customer_token
.
reportBuilderReadyToLoad
Parameter | Type | Description |
---|---|---|
reportBuilderId | string | Embed ID of the report builder |
reportBuilderFailed
JWT
or an invalid embed_id
/ customer_token
.