Exemple #1
0
    public void StartTracking()
    {
        if (IsStarted)
        {
            return;
        }

        IsStarted = true;
        AN_GoogleAnalyticsProxy.StartAnalyticsTracking();
    }
Exemple #2
0
 public void EnableAdvertisingIdCollection(bool mode)
 {
     if (mode)
     {
         AN_GoogleAnalyticsProxy.EnableAdvertisingIdCollection("true");
     }
     else
     {
         AN_GoogleAnalyticsProxy.EnableAdvertisingIdCollection("false");
     }
 }
Exemple #3
0
 public void SetDryRun(bool mode)
 {
     if (mode)
     {
         AN_GoogleAnalyticsProxy.SetDryRun("true");
     }
     else
     {
         AN_GoogleAnalyticsProxy.SetDryRun("false");
     }
 }
Exemple #4
0
 public void ClearKey(string key)
 {
     AN_GoogleAnalyticsProxy.ClearKey(key);
 }
Exemple #5
0
 public void SetKey(string key, string value)
 {
     AN_GoogleAnalyticsProxy.SetKey(key, value);
 }
Exemple #6
0
 public void CreateItem(string transactionId, string name, string sku, string category, float price, int quantity, string currencyCode)
 {
     AN_GoogleAnalyticsProxy.CreateItem(transactionId, name, sku, category, price.ToString(), quantity.ToString(), currencyCode);
 }
Exemple #7
0
 public void CreateTransaction(string transactionId, string affiliation, float revenue, float tax, float shipping, string currencyCode)
 {
     AN_GoogleAnalyticsProxy.CreateTransaction(transactionId, affiliation, revenue.ToString(), tax.ToString(), shipping.ToString(), currencyCode);
 }
Exemple #8
0
 public void SendTiming(string category, long intervalInMilliseconds, string name, string label)
 {
     AN_GoogleAnalyticsProxy.SendTiming(category, intervalInMilliseconds.ToString(), name, label);
 }
Exemple #9
0
 public void SendTiming(string category, long intervalInMilliseconds)
 {
     AN_GoogleAnalyticsProxy.SendTiming(category, intervalInMilliseconds.ToString(), "null", "null");
 }
Exemple #10
0
 public void SendEvent(string category, string action, string label, long value, string key, string val)
 {
     AN_GoogleAnalyticsProxy.SendEvent(category, action, label, value.ToString(), key, val);
 }
Exemple #11
0
 public void SendEvent(string category, string action, string label, string key, string val)
 {
     AN_GoogleAnalyticsProxy.SendEvent(category, action, label, "null", key, val);
 }
Exemple #12
0
 public void SendView()
 {
     AN_GoogleAnalyticsProxy.SendView();
 }
Exemple #13
0
 public void SendView(string appScreen)
 {
     AN_GoogleAnalyticsProxy.SendView(appScreen);
 }
Exemple #14
0
 public void SetTrackerID(string trackingID)
 {
     AN_GoogleAnalyticsProxy.SetTrackerID(trackingID);
 }
Exemple #15
0
 public void SetLogLevel(GPLogLevel logLevel)
 {
     AN_GoogleAnalyticsProxy.SetLogLevel((int)logLevel);
 }