Embedding via iFrame vs GD.UI DashboardView

  • 4 May 2021
  • 1 reply

Userlevel 3

Here are the basic pros and cons of embedding Dashboards using an iframe opposed to integrating Dashboards using GoodData.UI <DashboardView /> component.


  • Easy to set up
    • See the screenshot below for how to get the right URL
  • Standard HTML
    • No additional frameworks, tooling or skill required
  • Generally low performance
    • Especially the initial load can be slow
  • Cumbersome interactivity
    • Communication between the iframe and its parent application is done via window.postMessage() method that by design comes with some pitfalls
  • May not comply with your security requirements

GD.UI <DashboardView /> Component

  • Requires frontend developer knowledge to set up
    • Basic React understanding is needed
  • Great performance
    • No different from the speed of the application where it’s integrated
  • Seamless interactivity
    • There are no boundaries as the dashboard becomes a native part of the application
  • No additional security aspects to consider


1 reply

This section of the examples gallery nicely shows the DashboardView component flexibility.