Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

UDBase.Controllers.AnalyticsSystem

KonH edited this page Feb 24, 2018 · 1 revision

IAnalytics

Analytics system allows you to track analytics events without using concrete analytics API

public interface UDBase.Controllers.AnalyticsSystem.IAnalytics

Methods

Type Name Summary
void AddSessionData(String key, Object value) Adds data item, which be sent with all next events
void Event(String eventName) Raise event without additional data
void Event(String eventName, Dictionary<String, Object> data) Raise event without additional data
void RemoveSessionData(String key) Removes session data item with given key
void UpdateSessionData(String key, Func<Object, Object> valueChange) Update data item, which be sent with all next events

UnityAnalyticsController

Analytics controller which uses Unity Analytics

public class UDBase.Controllers.AnalyticsSystem.UnityAnalyticsController
    : IAnalytics, ILogContext

Methods

Type Name Summary
void AddSessionData(String key, Object value)
void Event(String eventName)
void Event(String eventName, Dictionary<String, Object> userData)
void RemoveSessionData(String key)
void UpdateSessionData(String key, Func<Object, Object> valueChange)