Skip to content

Analytics Tracking

(See Assets/Treasure/Example/Scripts for usage examples)

using Treasure;
 
// Tracking analytics events - please consult with Treasure team on event naming and required event properties
TDK.Analytics.TrackCustomEvent("custom_event", new Dictionary<string, object>
{
    {"custom_event_key", "hello world"}
});