It’s been some months already that google anounced it’s api for google analytics.
As I was interested in using this API in dotnet I was disappointed to see that there was no such library yet.
There are some examples on the internet building up the calls yourself, but that’s to error sensitive for someone who is not a professional programmer. To start with google has 3 different kinds of logins etc.
So I was happy to find a thread on google about a dotnet api for analytics, and found that google had adopted the source code but had not put it in the build yet. In that thread is a link to the source (release 933). In the trunk directory is a dll for the analitics (cs/lib/release)
So how do you make this work?
Install the google data API and download the Analytics dll
Download the examples from the samples/analytics directory.
Start your visual studio, create a new application, and then register all the dll’s you need (see the import in the .cs file) and copy the code from the example.
Then you can call the analytics in dotnet!
And a tip: imagine combining the analytics with the graphics from fusion charts……