Sitecore Analytics – Get Page Definition Id Programmatically

During the past few weeks, I have been working on a module which makes use of the Sitecore Analytics. I had to manipulates goals, profiles and outcomes programmatically. Especially Outcomes as it can only be triggered programmatically. Moreover, following a question on Sitecore StackExchange, I decided to blog about it. Continue reading