Why are reports in Google Analytics not showing in iframes?

I went into my google analytics on one tab (I tried Firefox 3.6 and Chrome), and on another tab I opened this simple HTML code that is on the desktop (or on my server).

<iframe height="100%" frameborder="0" width="100%" src="https://www.google.com/analytics/reporting/dashboard" allowtransparency="true"></iframe>

I expected it to display Google Analytics data in an iframe. But it just shows a blank screen (I tried for Gmail, and it also appeared blank)

Am I missing any thing to display in an iframe?

I can use the Google Analytics API to get results, and that’s completely different. My case shows that is already registered in google account in Iframe

+5
source share
1 answer

Google x-frame-options:SAMEORIGIN HTTP, iframe, iframe google.com. . clickjacking.

+9

All Articles