In case if you want to handle GA tracking using C# instead of using JavaScript here is a solution.
Click here to see the solution
The solution has C# code that does two things
- Formats http://www.google-analytics.com/__utm.gif url and querystring
- Make a request to www.google-analytics.com using System.Net.WebRequest
- When you want to log page views for things that normally' can’t – like web service calls, win forms application usage etc.
- When you replace page views with Ajax calls, but still want to log the Ajax action as a second page view.
- If you want to use Google analytics to log non-website information, such as offline transactions, product catalogue statistics or store purchases.
No comments:
Post a Comment