Beispiel #1
0
        /// <summary>
        /// track an event with custom data
        /// </summary>
        /// <param name="type"></param>
        /// <param name="data"></param>
        public void Track(TrackType type, string data)
        {
            // get clicked item name
            Track t = new Track(type, data);
            t.id = Auth.GetNetworkAddress();
            t.tag = Program;
            debug(_tc.ToString() + " " + t.ToString());
            if (SendTrackEvent != null)
                SendTrackEvent(t);
            if (!TrackEnabled) return;
            _tc++;

            
            _untrackedqueue.Write(t);
        }