Embed your list of files in a website or intranet

Google Data Studio report is compatible with all website builders and embedding your report is simple and easy.

In this article, we will focus on Google site embedding. But this method cas also be used for other CMS Webpages, see the last section of this article for further information.

And don't hesitate to check our 3min video tutorial!

In this article 

Now that you’ve created your report, it’s time to share & embed your Google Drive by Folgo report (dashboard) on any web platform (sites, forums, wikis, ...). 

Share the report

The easiest way to share your report (dashboard) is by letting anyone with the link access your Data Studio report. 

Remember: Use caution when using link sharing, as this may expose your data to a wider audience than you intended:

  • If the report is shared publicly, then anyone viewing your page can see the embedded report.
  • If the report is shared with specific users, groups, or domains, then only those people can see the embedded report. These viewers must be logged into a Google account.
  1. Sign in to Data Studio.
  2. View or edit the report you want to share.
  3. In the top-right, click Share. The Sharing with others dialog appears.
  4. Click Manage access.
  5. On the right, use the drop-down menu to select Anyone with the link can view: 

Info: Click here to learn more about other link-sharing options that best meet your needs. 

Note: If you are a Google Workspace user, your link sharing options may be restricted to users in your domain. 

Embed your report using the URL or the HTML code

Method 1: using the embed URL

  1. Edit the report you want to embed.
  2. Select File > Embed report, or in the upper right, click Embed: 
  3. Click Enable embedding. A dialog box appears: Enable embedding dialog.

To embed a specific page of your report, navigate to that page before generating the embed link.

  1. Select Embed URL.
  2. Click COPY TO CLIPBOARD.

To embed a specific page of your report, navigate to that page before generating the embed code. 

  1. In your Google Site, select Embed in the Insert section
  2. Paste the Data Studio link you copied in Step 5 under the BY URL tab. A live preview displays
  3. Click insert:

You are all set!

Note: when embedding your report by URL, Google Site will displays white borders. If you don't want these or want to personalize even more your embedded report, we recommend to use HTML code. See next section to learn more!

Method 2: using the embed HTML code

  1. To keep your iframe responsive, set the display mode of your report on Fit to width:

  1. Select File > Embed report, or in the upper right, click Embed: 
  2. Click Enable embedding. A dialog box appears: Enable embedding dialog.

Tip: To embed a specific page of your report, navigate to that page before generating the embed link.

  1. Select Embed Code.
  2. Click COPY TO CLIPBOARD.

6. In your Google Site, click on Insert and select Embed

7. SelectEmbed Code, and paste the Data Studio code you copied in Step 3 under the Embed code tab. 

By default, the generated HTML code will be the following:

<iframe width="600" height="450" src="https://datastudio.google.com/embed/reporting/ed563560-0974-4041-b617-54dbcf4d2af5/page/q4q9B" frameborder="0" style="border:0" allowfullscreen></iframe>

To automatically adjust the size of your iframe, change the width and height attributes to 100% in the code:

<iframewidth=100% height=100% src="https://datastudio.google.com/embed/reporting/ed563560-0974-4041-b617-54dbcf4d2af5/page/q4q9B" frameborder="0" style="border:0" allowfullscreen></iframe>

8. Then, click Insert:

Your report is now embedded in your Google Site!

Use the attribute border in the iframe tag to personalize the color, width, type of the borders! For example: style="border:1px solid black;" 

Embed your report on a CMS Webpage

You can embed your report in any CMS Webpage allowing HTML iframes. The steps remain the same as explained earlier in this article:

  1. From your Data Studio report, click on Share and select Embed report
  2. Check enable embedding 
  3. Click on copy the clipboard
  4. Edit the HTML source of the page in which you want to embed the report. Paste the iframe code where you want the report to appear.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us