I'm working on a site design that has a set of news headlines in the "hero" area, and when you click an article you don't get taken to that page, you're jumped down to an anchor that has the article in a detail area. However, we want to track it as if the news article page had been visited.
Looking at the tracker code and the documentation in Sitecore, there are references to Sitecore.Analytics.Tracker.Current.CurrentPage
, but I don't see how to specify that I want to track to something other than the current page (so I could do like Sitecore.Analytics.Tracker.Current.[SpecifiedPage].RegisterPageEvent
).
Is there a entry point to pass in the item ID I want to track to, and then do the page event registration there?