Created
March 12, 2015 14:30
-
-
Save jamielittle/4a3462bafc0da9f4d95a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Item thisItem = Sitecore.Context.Data.Database.GetItem(ContactAcquisitionOutcome); | |
Sitecore.Analytics.Data.Items.OutcomeDefinitionItem outcomeItem = new OutcomeDefinitionItem(thisItem); | |
PageEventItem pageEventItem = new PageEventItem(outcomeItem); | |
PageEventData pageEventData = Sitecore.Analytics.Tracker.Current.CurrentPage.Register(pageEventItem); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment