Add Google analytics to iOS app

Add Google analytics to iOS app

This shows how to add Google Analytics to your iOS app and not having to use the Firebase Analytics. 1. Login to your Google Analytics Account and create a New Property On the New Property screen select Mobile app, Google Analytics Services SDK. Type your App Name as shown. Rest of the settings can be selected based on your requirement. Then click the button Get Tracking ID Once you get the tracking ID which would be in the format UA-XXXXXXXX-X, click the link for the iOS SDK Getting started guide As mentioned on the Getting Started guide page, create a pod file using terminal by navigating to your project and typing below command [crayon-59c674d7f17e7212246227/] Open the newly created pod file and add below code just below the line which says # Pods for My iOS App [crayon-59c674d7f17fb104759378/] Run below command [crayon-59c674d7f1803921584693/] Now open your project as workspace Click the button GET A CONFIGURATION FILE on the instructions page which will take you to your firebase console Login and create your Firebase Project if you haven't created by typing your App...
Read More