Take the 2-minute tour ×

I am using asp.net 3.5 with C#.

I have registered my application in google analytics and it is successfully showing my statistics. But I want to integrate that statistics into my website, is there any way I can do it.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

If you're trying to retrieve Analytics data (rather than collect it, as it sounds like you're already doing), take a look at Google's Data Export API

share|improve this answer
You're right, I gave the wrong link :) –  egrunin May 31 '10 at 20:03
I am using this code.google.com/apis/analytics/docs/gdata/2.0/… Javascript version, but it seems that it's not working for me, I am getting no error which I can discuss here, I am pressing "Access Google Analytics" and after that I am getting loading button .. but no data or analytics .. :( –  Zerotoinfinite May 31 '10 at 21:50
Please suggest how can I acheive it –  Zerotoinfinite Jun 2 '10 at 14:19
How are you running the sample? I found that it doesn't work if you load the page from your local hard drive (i.e. with a file:// url) but does it you upload it to a live server (with an http:// url). I don't know if http:// localhost works. Also, are you building the html/js files according to their tutorials or have you tried copying the completed samples they give you? –  Dave Kilian Jun 2 '10 at 20:41
Here's my (working) copy of the example code: dahveed.dyndns.org/stackoverflow/analytics –  Dave Kilian Jun 2 '10 at 20:44
show 1 more comment

Have you looked at the Google Analytics API? It's javascript, but you can get that data into server-side code from there.

share|improve this answer
Can I get any widget kind of report, all I found on the net is something which requires login. Also I have checked the link provided by Dave, it's fine but alas... not working for me. –  Zerotoinfinite May 31 '10 at 22:34
add comment

Your Answer


