We can track mobile sites in the same way as other websites. Since we need to make changes to the tracking code in order for it to track mobile sites we need to use different tracking code. To make sure that Google Analytics reports data from for mobile websites, paste the server-side code snippets on each page we need to track. This will result in Google Analytics creating a profile for the mobile website. Google Analytics will now report the same kind of information as in standard Analytics reports. It includes visitor information and traffic sources and we can track users visiting mobile website from both smartphones (like iPhones and Android devices) and WAP devices separately.
It will work in the following server-side snippets environments:
- PHP 5
- JSP on Jetty 6
- Perl 5.10
- ASP.NET on IIS 6.0


