I'd love to show the Google Analytics traffic information for each page on my site EMBEDDED into that page. What's the easiest way to do this?
closed as off-topic by Sathyajith Bhat♦ Jul 22 '13 at 3:58
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "It is a question about creating/developing a web application." – Sathyajith Bhat
There is no easy way to do it. Since the "flash" charts are not available to embed on to your website.
The only way you could do it is through the Google Analytics API,
But this still won't give you charts. If you wanted charts you could use the Google Charts API in conjunction with the Google Analytics API to make your own.
I know this is late to the question, however, this is the article I found when I was looking for answers, and would have appreciated a solution like this (minimal setup, no site registration, customizable).
Edit: OOcharts is no longer available.
Edit: Another option which might work for you is superProxy.
Google has sample code for this:
Check out embeddedanalytics. This is a service precisely for what you are asking. You define the chart (type, metrics, dimensions, date range) and then simply embed a snippet of code into your site where you want the chart to show.
Disclosure: I work with embeddedanalytics
Disclaimer: I have no idea how to do this via code.
However, using the 'send email' report, you could send an email with your report as xml/csv/etc attachment on an automated periodic basis to a holding email account that would process it. IE, set Analytics to send the email weekly, set the mail client to automatically take emails from that sender with .xml files and upload the attachment to a holding space you could render a graph from. Then basically you just need a script to render the values from the exported report.
Explainum is the most easiest way to embed a chart from Google Analytics to a site. No sheets, no complicated things to setup.. Explainum connects to the data on Google Analytics, and gives a code to embed a chart to my site. The same way as youtube gives you a code to embed a video on your site.