This appendix summarizes each of the available plug-ins for each platform.
The following plug-ins are available for Android:
Use this plug-in to integrate Google analytics with your Android app. It creates a window.plugins.analytics object.
To start, enter the following code:
/** * Initialize Google Analytics configuration * * @param accountId The Google Analytics account id * @param successCallback The success callback * @param failureCallback The error callback */ start(accountId, successCallback, failureCallback);
To track a page view, use the following code:
/** * Track a page view on Google Analytics ...