Monday, February 08, 2010

Google Analytics on ASP.NET mobile site

Hello...
I want to use Google analytics for the mobile site of my company and I was goggling to find an example to do it because I know that the integration of analytics to mobile site is different because many mobile browsers does not support the now ubiquitous javascript..but I had some luck atlast and found an example to use it in php site which I used to satisfy my need.. To make life little easy for others I am blogging to help others...

Most of the time you will be adding the new site and you can do it by clicking on this option

UT0

and then select this radio button

UT1

then click on continue..

Then on the this screen come down a little bit and select the "Advanced" tab and you will find an option "A site build for mobile phone" select that and after that select the language in our case which is "ASPX"

UT2

 

UT3

 

Copy and paste the code as told in the instruction and you are good to do tracking on your mobile site and provide better UX for your customers.