Reputation: 2139
I have a webpage on one domain, and a blog on another. I am looking to build a script/widget for myself, which can track my blog's statistics (visitors, unique visitors, geography of visitor, etc) and send them over to my webpage where it can be displayed.
Is such a thing possible? If yes, could you please point me in the right direction? I'm new to widget programming, so i'm not entirely sure how to word my search.I am trying to learn, so any help is appreciated!
Upvotes: 0
Views: 77
Reputation: 30441
If you've installed Google Anatytics web tracking on your blog, you should be able to build a dashboard to view charts of the usage data pretty easily using the new Embed API.
The Embed API handles the hardest parts for you (authentication and converting the data to Google Chart format), so you can pretty easily display visualizations of your data without too much work.
Here are the Embed API docs:
https://developers.google.com/analytics/devguides/reporting/embed
And here is a demo site showing what you can build with the Embed API:
http://ga-dev-tools.appspot.com/demos/embed-api/
Upvotes: 1