Google Analytics Export API - nextPagePath data

Posted by Btibert3 on Pro Webmasters See other posts from Pro Webmasters or by Btibert3
Published on 2011-12-08T02:59:56Z Indexed on 2012/06/23 21:25 UTC
Read the original article Hit count: 266

Filed under:

I am probably missing something obvious, but I do not understand when I query:

start.date = DATE_START, 
           end.date = DATE_END,
           dimensions = c("ga:pagePath","ga:previousPagePath"),
           metrics = c("ga:pageviews"),
           filters = mypageofinterest,
           table.id = "ga:mytable",
           max.results=RESULTS

my data return as expected, all of the previous pages including (entrance). However, when I modify the code to be nextPagePath

start.date = DATE_START, 
           end.date = DATE_END,
           dimensions = c("ga:pagePath","ga:nextPagePath"),
           metrics = c("ga:pageviews"),
           filters = mypageofinterest,
           table.id = "ga:mytable",
           max.results=RESULTS

only one line of data are returned; the pagepath and nextpagepath are identical with itself. I replicated this result using the Query Explorer.

What am I missing or doing wrong? I was expecting to see a large number of "next" pages, including (exit).

Thanks in advance.

© Pro Webmasters or respective owner

Related posts about google-analytics