Exemplo n.º 1
0
        public IUTPageView DeepCopyUTPageView()
        {
            var utEvent = new UTEvent(
                this.Timestamp,
                this.CustomValues,
                this.DefinitionId,
                this.ItemId,
                this.EngagementValue,
                this.ParentEventId,
                this.Text,
                this.Duration,
                this.TrackingInteractionId
                );


            var utPageView = new UTPageView(
                utEvent,
                this.ItemLanguage,
                this.ItemVersion,
                this.Url,
                this.SitecoreRenderingDevice
                );

            return(utPageView);
        }
        public IUTEvent DeepCopyUTEvent()
        {
            var result = new UTEvent(
                this.Timestamp,
                this.CustomValues,
                this.DefinitionId,
                this.ItemId,
                this.EngagementValue,
                this.ParentEventId,
                this.Text,
                this.Duration,
                this.TrackingInteractionId,
                this.type
                );

            return(result);
        }
Exemplo n.º 3
0
        public IUTGoal DeepCopyUTGoal()
        {
            var utEvent = new UTEvent(
                this.Timestamp,
                this.CustomValues,
                this.DefinitionId,
                this.ItemId,
                this.EngagementValue,
                this.ParentEventId,
                this.Text,
                this.Duration,
                this.TrackingInteractionId
                );


            var utGoal = new UTGoal(utEvent);

            return(utGoal);
        }
        public IUTCampaign DeepCopyUTCampaign()
        {
            var utEvent = new UTEvent(
                this.Timestamp,
                this.CustomValues,
                this.DefinitionId,
                this.ItemId,
                this.EngagementValue,
                this.ParentEventId,
                this.Text,
                this.Duration,
                this.TrackingInteractionId
                );


            var utcamapign = new UTCampaign(
                utEvent,
                this.CampaignDefinitionId
                );

            return(utcamapign);
        }
Exemplo n.º 5
0
        public IUTSearch DeepCopyUTSearch()
        {
            var utEvent = new UTEvent(
                this.Timestamp,
                this.CustomValues,
                this.DefinitionId,
                this.ItemId,
                this.EngagementValue,
                this.ParentEventId,
                this.Text,
                this.Duration,
                this.TrackingInteractionId
                );


            var utSearch = new UTSearch(
                utEvent,
                this.Keywords
                );

            return(utSearch);
        }
Exemplo n.º 6
0
        public IUTOutcome DeepCopyUTOutcome()
        {
            var utEvent = new UTEvent(
                this.Timestamp,
                this.CustomValues,
                this.DefinitionId,
                this.ItemId,
                this.EngagementValue,
                this.ParentEventId,
                this.Text,
                this.Duration,
                this.TrackingInteractionId
                );


            var utOutcome = new UTOutcome(
                utEvent,
                this.CurrencyCode,
                this.MonetaryValue
                );

            return(utOutcome);
        }