SDK integration

myTracker SDK is a library for tracking mobile apps performance.

Integrate SDK into iOS | Android | Unity apps:

Tracked data

Default SDK tracks the following data:

  • settings and status of the SDK;
  • app data: version, identifiers, language;
  • device data: identifiers, model, OS, version, language, screen size and etc.;
  • network data: mobile operator, connection type, WiFi, Bluetooth;
  • geolocation (only with a request app permission and the user agreement);
  • app launch;
  • session data;
  • in app purchase.

You can also set up tracking of any custom events:

  • registration
  • login;
  • level achievement and etc.

You can analaze tracked data in the myTracker interface or unload using the API.

Changelog

Current SDK versions:

  • v2.0.6 of the 26 June 2020 for iOS
  • v2.0.9 of the 07 July 2020 for Android
  • v2.0.1 of the 07 July 2020 for Unity
Version Date Changes
iOS
2.0.626.06.20 Added a required userId parameter for an authorization and registration tracking.
2.0.504.06.20 Improvements in purchase tracking.
Other minor improvements.
2.0.410.03.20 Fixed error in the determination of location that caused crashing apps on the iPhone 5/5c c iOS 10.x.
2.0.306.03.20 Fixed error in iAd attribution.
2.0.204.02.20 Added method to get instanceId (device identifier for S2S API).
Added comments for methods.
2.0.130.12.19 Fixed errors.
2.0.023.12.19 Improved architecture and performance of the library:
  • Removed the createTracker method
  • Divided settings into MyTrackerConfig and MyTracker.trackerParams classes
  • Added asynchrony to events tracking methods (now methods do not return boolean values)
Minimum supported iOS version increased to 8.0
Added demo application in Swift
1.7.922.08.19 Added support for iOS 13.
1.7.813.06.19 Possibility to set up the region, where the data collection server is located.
1.7.728.05.19 Launch tracking is improved. The SDK does not track launch by push-notification if an app is run in the background.
1.7.619.02.19 Parameters were added to collect data on the price of inApp purchase.
1.7.513.12.18 forcingPeriod configuration parameter was added. This parameter allows to enable immediate events flushing to server during defined period of time after application install/update.
1.7.424.04.18 Improvements in deeplink tracking.
1.7.318.04.18 Support for deeplinks tracking was added.
1.7.219.03.18 Jailbreak detection was added.
Number of concurrent network connection was limited.
1.7.116.02.18 flush() method was added to force events sending.
1.7.016.01.18 Automatic inApp purchase events tracking added.
Custom events parameters validation improved.
1.6.427.09.17 Some improvements.
1.6.313.09.17 Fixes and improvements.
1.6.013.07.17 Deferred deeplinks support.
Added original_transaction_id params (restored in-app purchases).
Possibility to set up params in singular.
1.5.1315.06.17 Bufferring settings added.
1.5.1220.04.17 Fixes and improvements.
1.5.1003.03.17 Fixed errors regarding CoreTelephony framework.
1.5.914.02.17 Fixes and improvements.
1.5.809.02.17 Earliest iOS version supported – 7.0.
1.5.623.01.17 Event tracking methods should return boolean value.
1.5.515.12.16 SearchAd Attribution error fixed.
1.5.320.09.16 SearchAd attribution tracking.
IDFV caching at UserDefaults.
1.5.230.08.16 Fixes and improvements.
1.5.103.08.16 Published at CocoaPods.
Fixes and improvements.
1.4.806.07.16 Session tracking improvement.
Errors fixed.
1.4.324.02.16 bitcode compilation error fixed.
1.4.022.12.15 Add session tracking.
Add cellular and wi-fi networks tracking — errors fixed.
Android
2.0.907.07.20 Fixes and improvements.
2.0.818.06.20 Added a required userId parameter for an authorization and registration tracking.
2.0.701.06.20 Improvements in purchase tracking.
2.0.626.05.20 Updated targetSdkVersion to 29.
2.0.522.05.20 Support for Install Referrer Library 1.1.2.
2.0.407.04.20 Fixed error in purchase tracking.
2.0.320.03.20 Added support for Billing Library 2.1.0 to track purchase
Stopped using the AIDL service to request product information
2.0.221.02.20 Added a feature of pre-install tracking.
2.0.104.02.20 Added method to get instanceId (device identifier for S2S API).
2.0.027.01.20 Improved architecture and performance of the library:
  • Removed the createTracker method
  • Divided settings into MyTrackerConfig and MyTracker.trackerParams classes
  • Added asynchrony to events tracking methods (now methods do not return boolean values)
Added demo application in Kotlin
1.5.1403.12.19 Improvements.
1.5.1321.11.19 Minor improvements.
1.5.1206.11.19 Console messages were corrected
1.5.1131.10.19 Added support for Bluetooth beacons
1.5.1018.10.19 Added support for Huawei OAID (Open Advertising Identifier)
1.5.918.09.19 Support for Android 10 privacy changes related to geolocation
1.5.814.06.19 Possibility to set up the region, where the data collection server is located.
1.5.720.05.19 Parameters were added to collect data on the price of inApp purchase.
1.5.618.03.19 Error with dependencies in the pom.xml was fixed.
1.5.514.12.18 forcingPeriod configuration parameter was added. This parameter allows to enable immediate events flushing to server during defined period of time after application install/update.
Minimum supported Android version increased to 4.0 (API Level 14).
onStartActivity/onStopActivity methods used for user activity tracking in Android prior 4.0 version were removed.
1.5.416.05.18 Deeplinks support added.
1.5.303.05.18 IMEI/MEID identifiers tracking removed.
1.5.221.03.18 Rooted device detection was added.
New trackLaunchManually() method was added. Method must be called if myTracker was initialized in activity not in Application instance.
Public API annotations were added
1.5.112.02.18 flush() method was added to force events sending.
1.5.005.02.18 Automatic inApp purchase events tracking added.
Custom events parameters validation improved.
1.4.521.12.17 Google Install Referrer API support added.
Automatic activities tracking added.
Deprecated function getDeviceId() was replaced with getImei()/getMeid() for devices with API 26+.
1.4.406.12.17 Fix of local database write error on insufficient device memory.
1.4.327.10.17 MultipleInstallReceiver class was added to simplify usage of multiple tracking systems in single application.
1.4.213.09.17 Fixes and improvements.
1.4.013.07.17 Deferred deeplinks support.
1.3.1409.06.17 Bufferring settings added.
1.3.1320.04.17 Fixes and improvements.
1.3.1023.01.17 Event tracking methods now return boolean value.
Added xdpi/ydpi to device info.
1.3.923.12.16 Error fixes.
1.3.803.10.16 Minor improvements.
1.3.623.09.16 Play-services-basement added to dependencies.
Error fixes and improvements.
1.3.530.08.16 Fixes and improvements.
1.3.415.08.16 64 character limit added to event and param names.
1.3.303.08.16 Further permission checks added for devices on Android 6+.
1.3.201.08.16 Error fixes.
1.3.110.06.16 Library published on JCenter public repository. Now it is possible to assign a single dependency in build.gradle file.
Library class set changed from ru.mail.android to com.my.tracker.
Session tracking improvement.
Installer tracking for install, referrer and update events.
1.2.203.02.16 Improvement to referrer info return process.
1.2.016.12.15 Add session tracking.
Add cellular and wi-fi networks tracking.
Unity
2.0.107.07.20 Added a required userId parameter for an authorization and registration tracking.
iOS and Android libraries were updated to the latest versions: iOS 2.0.6, Android 2.0.9.
2.0.026.02.20 Improved architecture and performance of the library:
  • Removed the createTracker method
  • Divided settings into MyTrackerConfig and MyTracker.trackerParams classes
  • Added asynchrony to events tracking methods (now methods do not return boolean values)
Added method to get instanceId (device identifier for S2S API).
Made the transition to manage dependencies with GPSR.
Minimum supported iOS version increased to 8.0
1.2.826.11.19 Fixed purchase tracking error.
1.2.716.07.19 Possibility to set up the region, where the data collection server is located.
1.2.625.12.18 forcingPeriod configuration parameter was added. This parameter allows to enable immediate events flushing to server during defined period of time after application install/update.
Minimum supported Android version increased to 4.0 (API Level 14).
1.2.520.08.18 Workaround for Unity 2018.2
1.2.418.05.18 iOS and Android libraries were updated to the latest versions: iOS 1.7.4, Android 1.5.4.
An error while project build using Gradle was fixed.
1.2.321.03.18 iOS and Android libraries were updated to the latest versions.
Root/Jailbreak detection was added.
1.2.215.03.18 inApp payments handling in Android was fixed.
1.2.112.03.18 inApp payments validation in iOS was fixed.
1.2.005.03.18 Automatic in app purchase events tracking on iOS platform added.
Automatic user activity (app launches) tracking on Android platform added.
New Flush() method was added to force events sending.
1.1.027.09.17 Tracking of payments.
1.0.021.09.17 Base tracking functionality released.