I want to make a bar chart from the google analytics data.
Current implemetation of the bar chart in my site is by See AnalyticsI am developing an ASP.NET website and this See Analytics is using PHP and jQuery to conjure the chart. It is also paid.
What my client w开发者_开发问答ould like is a similar tool that draws chart from analytics, without a PHP Component in it. ie. A similar tool using ASP.NET and jQuery/javascript. What I would like is to get that tool for free(open source).What are my options?
Regards,
naveenjHave you looked into using the other free tools from Google:
The Google Visualization API: http://code.google.com/apis/visualization/
The Google Chart API: http://code.google.com/apis/chart/
They have some examples of how to use analytics data with the charts libraries.
Flot is an excellent jQuery-plugin for making such graphs and more importantly it's open source. I'm not familiar with ASP.NET, but there are good examples available for Google Analytics API connectivity in ASP.NET.
I would do it with PHP and jQuery + flot and it would probably be the easiest way too. Another option is to use MooTools for the graphs, which is a similar JavaScript framework as jQuery. Even with MooTools the data should be retrieved with PHP.
Here's an example of jQuery + flot + Google Analytics which is just what you are looking for even though it's implemented with PHP.
Check out the Google Analytics API Gallery. There are a lot of solutions there. I have created a 3rd party service (www.embeddedanalytics.com) which does exactly this. Mind you it is not a source code solution. But rather a 3rd party SaaS. And there are free options available.
精彩评论