Google Analytics used to have advanced options that supported the tracking of mobile usage. Since 2014, however, Google has deprecated the mobile analytics settings and no longer differentiates between desktop websites and mobile websites.
Therefore, the process of integrating the Google Analytics tracking code into your mobile website is the same as it would be for a regular website. For detailed instructions about how to integrate the Google Analytics tracking code into your website, read this article.
If you are trying to integrate Google Analytics tracking into your mobile application, visit Google’s mobile app implementation guide for instructions on how to set up tracking in your iOS or Android app.