C# Class LeopotamGroup.Analytics.GoogleAnalyticsManager

Simple GoogleAnalytics manager. Supports tracking of events, screens.
Inheritance: UnitySingletonBase
Afficher le fichier Open project: Leopotam/LeopotamGroupLibraryUnity

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
OnConstruct ( ) : void

Private Methods

Méthode Description
EnqueueRequest ( string url ) : void
Start ( ) : IEnumerator

Method Details

OnConstruct() protected méthode

protected OnConstruct ( ) : void
Résultat void

TrackEvent() public méthode

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

TrackEvent() public méthode

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.
Résultat void

TrackException() public méthode

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

TrackScreen() public méthode

Track current screen.
public TrackScreen ( ) : void
Résultat void

TrackScreen() public méthode

Track screen with custom name.
public TrackScreen ( string screenName ) : void
screenName string Custom screen name.
Résultat void