Google Analytics: understanding dimensions and metrics?

Posted by flossfan on Pro Webmasters See other posts from Pro Webmasters or by flossfan
Published on 2014-06-05T14:35:49Z Indexed on 2014/06/05 15:39 UTC
Read the original article Hit count: 167

If I run a query on the Google Analytics API and set the dimension to ga:pagePathLevel1 and the metric to ga:avgTimeOnPage, I get results like this:

{ pagePathLevel1: /about, avgTimeOnPage: 28 },
{ pagePathLevel1: /contact, avgTimeOnPage: 10 }

I'm not completely sure how to interpret this.

Is the value of avgTimeOnPage the average time spent by any user on all pages that match that path?

Or is 28 seconds the average time spent by any user on any single page that matches that path?

I'm looking for the average time spent across all pages matching that path, but the time estimates look shorter than I'd expect.

I hope that question makes sense! Please tell me if it doesn't.

© Pro Webmasters or respective owner

Related posts about google-analytics

Related posts about analytics-api