コード例 #1
0
 public static void Event(string category, string action)
 {
     Analytics.SendPayload(string.Concat(new string[] { "v=1&tid=UA-48448359-3&cid=", Analytics.Identifier, "&t=event&ec=", category, "&ea=", action }));
 }
コード例 #2
0
 public static void Collect()
 {
     Analytics.SendPayload(string.Concat(string.Concat(new string[] { "v=1&tid=UA-48448359-3&cid=", Analytics.Identifier, "&t=screenview&cd=", Analytics.Covalence.Game, "+", Analytics.Covalence.Server.Version }), string.Format("&an=Oxide&av={0}&ul={1}", OxideMod.Version, Analytics.Lang.GetServerLanguage())));
 }