CSharpAnalytics.UrchinActivityExtensions.TrackPageView C# (CSharp) Method

TrackPageView() public static method

Track a new PageView for a given page and title.
public static TrackPageView ( this analyticsClient, string title, string page ) : void
analyticsClient this UrchinAnalyticsClient object with queue and configuration set-up.
title string Title of the page.
page string Relative path of the page.
return void
        public static void TrackPageView(this UrchinAnalyticsClient analyticsClient, string title, string page)
        {
            if (analyticsClient == null) throw new ArgumentNullException("analyticsClient");
            analyticsClient.Track(new PageViewActivity(title, page));
        }