示例#1
0
        /// <summary>
        /// Adds a value to the array of values on the visitor
        /// </summary>
        /// <param name="key"></param>
        /// <param name="value"></param>
        internal static void PushToVisitorProperty(string key, object value)
        {
            if (IsCrawler)
            {
                return;
            }

            var currentVisitorId = TrackingManager.PushToVisitorProperty(VisitorId, key, value);

            if (!currentVisitorId.IsNullOrWhiteSpace())
            {
                VisitorId = currentVisitorId;
            }
        }