Embed Explo dashboards through an IFrame
<iframe>
) represents a nested browsing context, embedding another HTML page into the current one. You can read more about IFrames here.
https://app.explo.co/iframe/<jwt>/<environment>
https://app.explo.co/iframe/<dashboard_id>/<customer_token>/<environment>
Attribute Name | Type | Description |
---|---|---|
jwt (recommended) | string | This is the embed secret (JWT) for the dashboard. We recommend you use this attribute instead of the dashboard_id and customer_token . Read more about embed secrets here. |
dashboard_id | string | This is the dashboard embed id that you retrieve from the Explo application. |
customer_token | string | The customer_token is the token you use to identify the customer that is viewing the dashboard. This is retrieved via the Customer API. |
environment | string | The environment name (such as production or staging) that you would like to embed. If no environment is provided, the most recent saved version will be rendered. |
refresh-minutes | number | The cadence on which you want the dashboard to automatically refresh data. (Optional) |
locale_code | string | An optional argument that overrides any localization settings for your team. This will localize your dashboard’s numbers, currencies, and dates to the desired locale, if supported. Check out support languages here. |
currency_code | string | An optional argument that overrides any currency localization settings for your team. This will localize your dashboard’s currency symbols and format to the desired locale, if supported. Check out support currencies here. |
timezone | string | An optional argument that allows you to specify a timezone to display dates in. Valid values can be found here. |
disable-editable-section-editing | boolean | An optional argument that disables your user from editing the editable section at the bottom of the dashboard if enabled. |
hide-editable-section | boolean | An optional argument that hides the editable section if enabled. |
hide-editable-section-edit-controls | boolean | An optional argument that hides the editable section edit controls (toggling editing mode, saving/ discarding changes). Recommended only if using JS events. |
theme | string | This is the name of the theme you created in the custom styles tab |
id | string | An optional argument that allows you to uniquely identify this dashboard if you have multiple on the same page. Used in Custom JS Events |
allow="clipboard-write"
, like this: