Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

ga:pagePath and ga:nextPagePath are not meant to be used together. GA should really return an error here.

Use ga:previouspagepath instead.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.