Google Analytics extension for Marmalade SDK (Android)
-
Have your Marmalade SDK installed on your machine
-
Execute both s3eGoogleAnalytics_android.mkb and s3eGoogleAnalytics_android_java.mkb simply by clicking on them or writing their names in the command line
-
Include "s3eGoogleAnalytics" in your project's mkb file
In order to initialise s3eGoogleAnalytics extension trigger s3eGoogleAnalytics_Init(const char* ua_id, const char* screen_name)
where:
ua_id
- tracking id from your Google Analytics accountscreen_name
- on mobile most likely your game's package name, for example: com.companyname.mygame. For more information you can take a look at Google's documentation.
To start a new session use s3eGoogleAnalytics_Start()
and to end it - s3eGoogleAnalytics_End()
Copyright 2005-2020 Rixment. Code released under the MIT license.