CPAlead Tracking SDK for App Advertisers
When you advertise your mobile app with CPAlead, you have the option to bid on a Cost Per Install basis (CPI). In order to track your installs, you will be required to install our Tracking SDK into your application. This process is made very easy with our integration SDK.
Add the cpaleadtrackingsdk.jar to your project, this can be be accomplished by copying the file into your "libs" directory. Right click the .jar file and goto "Add As Library" you then select your main app and hit "OK".
First, you need to make sure you allow internet permission in your manifest:
In order to track your app installs, insert the following code to your application tag in the manifest:
Please make sure that our receiver is the first receiver in your XML file.
Add import code to import our tracking SDK function.
Add this tracking function to your apps MainActivity function or class on startup
Once your app changes are uploaded to Google Play production, you are now ready to promote your app!