Custom Csharp Class to track Pageviews and Track events