You can now easily integrate your mobile applications with Tenjin, an analytics service with emphasis on install attribution (“from where did users install this application”). The idea is to have more knowledge about your organic and paid (from marketing campaigns) installations, to better make decisions how to promote your application.
tenjin service can be declared in your CastleEngineManifest.xml file. Read the documentation:
The service sends to Tenjin:
- initialization (user device data, e.g. Android/iOS version),
purchase details (when user makes in-app purchase), so you can correlate them with your marketing campaigns,
custom events you send by trivial TCastleTenjin.SendEvent
Note that we are not associated with Tenjin in any way. We just added to CGE a component to easily use their mobile SDK. The Tenjin is in general a paid service, although basic install attribution is free.
Please refer to the Tenjin documentation to know more about Tenjin features, and how to view these statistics.
The Pascal API will be extended soon with easy option to opt-in/out of the statistics by user.
We also introduced a new mechanism how services can declare their information:
Right now Tenjin and FMOD services use them, and they allow to copy 3rd-party binary libraries (that we cannot distribute within CGE) into your mobile project.
This system will be extended to simplify services creation in the future. Platform-specific independent services work cool like this.
See FMOD Android service, FMOD iOS service, and in particular their example CastleEngineService.xml in Android FMOD service.
The new Tenjin service may also serve as a good example of a service that integrates with a 3rd-party SDK in Objective-C (on iOS) and Java (on Android). It makes a basic integration, and allows for basic communication with Pascal through