I would like to load Datastudio or Analytics reports in my app with javascript?
<script>
$(document).ready(function(){
$('#mydiv').load('http://datastudio.com');
});
</script>
I would like to load Datastudio or Analytics reports in my app with javascript?
<script>
$(document).ready(function(){
$('#mydiv').load('http://datastudio.com');
});
</script>
You cannot load the plain content from ANYsite. It is obvious that this will produce a security whole..
To be able to load some content from anysite.com to yoursite.com
anysite.com has to provide a CORS header which will allow you to share content between anysite.com and yoursite.com