SDKs
Unity SDK
Add Tracklyne to a Unity game: events, scenes, identify, remote feature flags and exceptions.
Install
Add package from git URL : com.tracklyne.unityusing TracklyneAnalytics;
Tracklyne.Init("tl_your_project_token", new TracklyneConfig { Host = "https://tracklyne.com" });
Tracklyne.Capture("level completed", new Dictionary<string, object> { { "level", 3 } });
Tracklyne.Identify(player.Id);Feature flags and errors
if (Tracklyne.IsFeatureEnabled("new-tutorial")) ShowNewTutorial();Unity 2021.3+, WebGL included. App opens, backgrounding and scenes are sent automatically. Turn on Capture Exceptions in the config to send errors.