Tiles, Preview, Full Chart View and even the entire Viewer can be embedded in your own web pages. There are two methods for embedding, both can be done on almost any standard HTML page:
- By using iFrames (<iFrame>) (for more details refer to Embedding with iFrame on an HTML Page)
You may also choose to embed all of Metric Insights into an iFrame on your web portal:
1. Use the following URL:
2. To preselect a Category for the Homepage, include:
For example, to have an embedded iFrame open the Metric Insights Homepage to Category 5:
How to find the Embedding Code
1. Get the Codes for individual elements
1.1. From element Editors
- For all Editors, the codes can be found under the Advanced tab.
- Click [</> Embed codes] to obtain the code.
2. Get the Codes for Dataset Report Components
To obtain the codes for Dataset Report Components, access the Report Editor:
- Go to the Report Content tab
- Open a Report Component (chart, table) > click [Edit] button
- On the Component Editor pop-up, click [Get embed code]
2.1. Embed a full Dataset Report
To embed a full Dataset Report, use the following URL format:
Parts of the URL enclosed in <> are customizable.
To build a URL for the whole Dataset Report embedding:
- Copy the hostname and Dataset Report ID from the URL in Dataset Report Editor or Viewer
- Specify the values for width and height
3. Get Codes for Favorites
Content menu> Folders > Folder List > Select a Folder:
- Via the Content menu, access the Favorite Folders list.
- Click the [Edit] button next to a Folder to get Embed codes for that Folder.
4. Get Codes for Folders
- Via the Content menu, access the Folders List.
- Click the Folder's name to access the Folder Editor.
- On the Content tab, click [</>Embed codes].
- Via the Content menu, access the Categories List.
- Click the Category's name to access the Categories Editor.
- On the Info tab, click [</>Embed codes].
Populate your Portal Pages with Embedded Elements, Folders and Categories. For details, see:
- Overview of Portal Pages (Step 3. Create a Simple New Portal Page for use in MI)
- Portal Page Templates