C# Class LeopotamGroup.Analytics.GoogleAnalyticsManager

Simple GoogleAnalytics manager. Supports tracking of events, screens.
Inheritance: UnitySingletonBase
Mostrar archivo Open project: Leopotam/LeopotamGroupLibraryUnity

Public Methods

Method Description
TrackEvent ( string category, string action ) : void

Track event.

TrackEvent ( string category, string action, string label, string value ) : void

Track event.

TrackException ( string description, bool isFatal ) : void

Track exception event.

TrackScreen ( ) : void

Track current screen.

TrackScreen ( string screenName ) : void

Track screen with custom name.

Protected Methods

Method Description
OnConstruct ( ) : void

Private Methods

Method Description
EnqueueRequest ( string url ) : void
Start ( ) : IEnumerator

Method Details

OnConstruct() protected method

protected OnConstruct ( ) : void
return void

TrackEvent() public method

Track event.
public TrackEvent ( string category, string action ) : void
category string Category name.
action string Action name.
return void

TrackEvent() public method

Track event.
public TrackEvent ( string category, string action, string label, string value ) : void
category string Category name.
action string Action name.
label string Label name.
value string Value.
return void

TrackException() public method

Track exception event.
public TrackException ( string description, bool isFatal ) : void
description string Description of exception.
isFatal bool Is exception fatal.
return void

TrackScreen() public method

Track current screen.
public TrackScreen ( ) : void
return void

TrackScreen() public method

Track screen with custom name.
public TrackScreen ( string screenName ) : void
screenName string Custom screen name.
return void