Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Take a look at PG google analytic plugin and instruction directly from them: <a href="https://github.com/phonegap-build/GAPlugin" rel="nofollow noreferrer">https://github.com/phonegap-build/GAPlugin</a></p> <p>Remember: To use mobile Google Analytic, you have to create a mobile application tracking on your GA account for this to work.</p> <p>Otherwise, see this alternative solution for not using plugin: <a href="https://stackoverflow.com/questions/11026916/how-to-use-google-analytics-with-phonegap-without-a-plugin/11026917">How to use Google Analytics with Phonegap without a plugin?</a></p> <p>========= Requirement for V2 GA plugin</p> <p>Since you are not on PG 3, you do not need plugman. You have to include the plugin manually.</p> <p>Your app must link the following frameworks:</p> <pre><code>CoreData.framework SystemConfiguration.framework libz.dylib libGoogleAnalytics.a </code></pre> <p>Include the following file:</p> <pre><code>GAI.h GAITrackedViewController.h GAITracker.h GAITransaction.h GAITransactionItem.h libGoogleAnalytics.a </code></pre> <p>You can find these files here: <a href="https://github.com/phonegap-build/GAPlugin/tree/master/src/ios" rel="nofollow noreferrer">https://github.com/phonegap-build/GAPlugin/tree/master/src/ios</a></p> <p>May also need other linker flag: remove "-all_load" and add "-ObjC"</p> <p>Then include the plugin:</p> <pre><code>GAPlugin.h GAPlugin.m </code></pre> <p>Add this to your config.xml:</p> <pre><code>&lt;feature name="GAPlugin"&gt; &lt;param name="ios-package" value="GAPlugin"/&gt; &lt;/feature&gt; </code></pre> <p>And include and call the javascript in your html5 code after deviceready event. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload