I decided to use Google Analytics over Flurry, as Flurry stopped updating tracking Events and nobody from Flurry Support team replied to my query. My requirement is as follo
There is another solution since Google set Firebase as a default for mobile application solution.
Firebase is Google's mobile app developer platform and helps developers incorporate Google's mobile app services quickly and easily – including Google Analytics.
Here is how Google Analytics changed the way of adding new property under Analytics admin page:
Try this method to send events:
[FIRAnalytics logEventWithName:kFIREventSelectContent
parameters:@{
kFIRParameterItemID:[NSString stringWithFormat:@"id-%@", self.title],
kFIRParameterItemName:self.title,
kFIRParameterContentType:@"image"
}];
There is no limit on the total volume of events your app logs.
You can view aggregrated statistics about your Analytics events in the Firebase console dashboards. These dashboards update periodically throughout the day. For immediate testing, use the debug console output as described in the previous section.
You can access this data in the Firebase console as follows:
The Events tab shows the event reports that are automatically created for each distinct type of Analytics event logged by your app. Read more about the Analytics reporting dashboard in the Firebase Help Center.
You can add Firebase using cocoapods. Add the dependency for Firebase to your Podfile:
pod 'Firebase/Core'
Run pod install
and open the created .xcworkspace file.
Import the Firebase module in your UIApplicationDelegate subclass:
import Firebase
Configure a FIRApp shared instance, typically in your application's application:didFinishLaunchingWithOptions: method:
// Use Firebase library to configure APIs
FirebaseApp.configure()