Esempio n. 1
0
        public static void AddToSegment(string segmentAlias)
        {
            if (segmentAlias == null)
            {
                throw new ArgumentNullException(nameof(segmentAlias));
            }

            var segment = Segment.GetByAlias(segmentAlias);

            if (segment == null)
            {
                return;
            }

            TrackingManager.AddVisitorToSegment(VisitorId, segment);
        }