Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected PageViews to Pageviews

  • Loading branch information...
commit afd09b364798307e23609b4872a99b711768cf0f 1 parent c84abfe
@Valve Valve authored
View
3  Igooana.Demo/MainWindow.xaml.cs
@@ -30,8 +30,7 @@ public partial class MainWindow : Window {
var query = Query
.For(74167085, DateTime.Now.AddDays(-31), DateTime.Now)
- .WithMetrics(Metric.PageTracking.PageViews)
- .WithDimensions(Dimension.Time.DayOfWeek + Dimension.Time.Hour);
+ .WithMetrics(Metric.PageTracking.Pageviews);
var result = await api.Execute(query);
}
catch (ConnectionException ex) {
View
4 Igooana/Metrics/PageTracking.cs
@@ -15,12 +15,12 @@ public class PageTracking {
/// <summary>
/// The total number of pageviews for your property.
/// </summary>
- public readonly Metric PageViews = new Metric("ga:pageviews", "Page tracking", "The total number of pageviews for your property.");
+ public readonly Metric Pageviews = new Metric("ga:pageviews", "Page tracking", "The total number of pageviews for your property.");
/// <summary>
/// The number of different (unique) pages within a session. This takes into both the pagePath and pageTitle to determine uniqueness.
/// </summary>
- public readonly Metric UniquePageViews = new Metric("ga:uniquePageviews", "Page tracking", "The number of different (unique) pages within a session. This takes into both the pagePath and pageTitle to determine uniqueness.");
+ public readonly Metric UniquePageviews = new Metric("ga:uniquePageviews", "Page tracking", "The number of different (unique) pages within a session. This takes into both the pagePath and pageTitle to determine uniqueness.");
/// <summary>
/// How long a visitor spent on a particular page in seconds. Calculated by subtracting the initial view time for a particular page from the initial view time for a subsequent page. Thus, this metric does not apply to exit pages for your property.
Please sign in to comment.
Something went wrong with that request. Please try again.