Coach marks

&

 Google analytics






Coach marks








 


 


 

 Quartz 2D


  1. It is a two dimensional graphics drawing engine that makes     up the bulk of the UIKIT Core Graphics Framework.

  2. It is a C based application programming interface (API).

  3. Quartz 2D drawing typically takes place on a UIView Object.

  4. Drawing is achieved by subclassing the UIView class, implementing the drawRect method and placing within that method the Quartz 2D API calls to draw the graphics.




Google analytics

 Introduction

  The Google analytics SDK makes it easy for developers to collect user engagement data from their apps.

  Developers can then use Google Analytics reports to measure,
 1. The number of active users using the application.
 2. From where in the world the application being used.
 3. Adoption and usage of specific features.
 4. In-app purchases and transcations.
 5. The number and type of application crashes, and many other useful metrics.

 Requirements


  1. iOS Developer SDK 4.0 or later.

  2. Google Analytics for Mobile Apps iOS SDK v2.

  3. An iOS app that you want to measure using Google Analytics.

  4. A new Google Analytics app property and profile.

 

  There are 3 steps to perform this operation,


  1. Add headers and libraries to your project.


  2. Initialize the tracker.


  3. Add screen measurement.

1. Adding header files and configuring your project


  • GAI.h
  • GAITracker.h
  • GAITrackedViewController.h
  • GAITransaction.h
  • GAITransactionItem.h

  • libGoogleAnalytics.a

Add these to application target's linked libraries

  • libGoogleAnalytics.a
  • CoreData.framework
  • SystemConfiguration.framework

2. Initalizing the tracker


Import GAI.h into delegate.m file and this code to application:didFinishLaunchingWithOptions: method


[GAI sharedInstance].trackUncaughtExceptions = YES;


[GAI sharedInstance].dispatchInterval = 120;


[GAI sharedInstance].debug = YES;


id<GAITracker> tracker=[[GAI sharedInstance] trackerWithTrackingId:@"ID"];

3. Implementing Screen Measurement


To automatically measure views in app , make your view controller extend GAITrackedViewController which extends UIViewController.


Add this line of code in viewDidLoad method


-(void)viewDidLoad {

  [super viewDidLoad];

 self.trackedViewName=@"Screen Name";

}







Thank You

coach marks and google analytics

By Torry Harris Business Solutions