Is there a way to integrate google analytics reporting in a website
One of my clients has requested this feature. They dont want to login to google analyt开发者_Go百科ics and want all the tracking/reporting through the site. Is there a way to show reporting inside an asp.net page?
I would advise that get hold of the data by access the Google Analytics API by sending an appropriate HTTP request to the analytics account. It will reply by sending an XML feed that you can parse into a database should you wish to or to a flat file.
Here is a link to the Google Data API
If you plan to make a dashboard out of that data you'll need to either configure a flash object to listen to the data you've parsed or make use of the HTML5 <canvas>
object and some javascript if you want on:hover displays of values etc. Depends on your requirements.
- The official Google C# library to download data from Google Analytics
- A head start on the process of collecting the data.
- A CodePlex project to pull Google Analytics into SQL Server 2008 using SSIS.
- An older set of Google Analytics usercontrols on CodePlex.
- An even older set of Google Analytics usercontrols with less features(?) on CodePlex.
- A classic ASP analytics scraper circa Jan 2010.
精彩评论