title: Google Data Studio - Refresh data on embedded website
body: <p>I've embedded data studio report on a html page. I refresh the iframes' after an interval, but the reports do not update. The report on the embedded page gets updated only by going to the report on data studio's website and clicking "Refresh data" icon.</p>
  
  <p>How can the report on html page be refreshed without manually clicking Refresh data icon on data studio website?</p>
  
  <p>HTML page:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
      &lt;div&gt;    
          &lt;iframe id="TODOcombined" width="800" height="600" src="https://datastudio.google.com/embed/reporting/1L5PqnHOl0kv3-bwMMVGcNgBi0cdaSMUN/page/Kj0j" frameborder="0" style="border:0" allowfullscreen&gt;&lt;/iframe&gt;    
      &lt;/div&gt;
  
      &lt;div&gt;    
          &lt;iframe id="TODOmultipage" width="800" height="600" src="https://datastudio.google.com/embed/reporting/19ErM9ElRIHD18oBKo0gGTdrmU5ayXn3H/page/Kj0j" frameborder="0" style="border:0" allowfullscreen&gt;&lt;/iframe&gt;    
      &lt;/div&gt;
  
      &lt;script&gt;
          function refreshFrames() {
              console.log("Refreshing frames at:" + new Date);
              document.getElementById('TODOcombined').src = document.getElementById('TODOcombined').src;
              document.getElementById('TODOmultipage').src = document.getElementById('TODOmultipage').src;
          }
          setInterval(refreshFrames, 20000);
      &lt;/script&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>