2016-08-05 02:35:56 +03:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Bit.App.Abstractions
|
2016-08-04 04:25:01 +03:00
|
|
|
|
{
|
|
|
|
|
public interface IGoogleAnalyticsService
|
|
|
|
|
{
|
2016-08-04 07:06:09 +03:00
|
|
|
|
void RefreshUserId();
|
2016-08-04 04:25:01 +03:00
|
|
|
|
void TrackPage(string pageName);
|
2016-08-04 07:25:10 +03:00
|
|
|
|
void TrackAppEvent(string eventName, string label = null);
|
|
|
|
|
void TrackExtensionEvent(string eventName, string label = null);
|
|
|
|
|
void TrackEvent(string category, string eventName, string label = null);
|
2016-08-04 04:25:01 +03:00
|
|
|
|
void TrackException(string message, bool fatal);
|
2016-08-05 02:35:56 +03:00
|
|
|
|
void Dispatch(Action completionHandler = null);
|
2016-08-04 04:25:01 +03:00
|
|
|
|
}
|
|
|
|
|
}
|