I am writing a program for myself in which i want to list the content drilldown of google analytics. what is the dimension and metrics to get that detail like shown in google analytics content drill down?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I am not entirely clear by what you mean with content drilldown. But when I go into Google Analytics -> Content -> Content Drilldown, I get a table which lists in the first column all page path. The dimension you would use here would be ga:pagepath. And of course you could select any metric you desire (e.g. visits, pageviews, new visits, bounces, etc).
Now on Google Analytics I see you can further drill down on a particular pagepath and it will list out all variations with respect to query parameters that page was called with. For example, if you had a pagepath vieworders.php, you might have the following listed:
But in the API it returns the pagepage with the associated parameters (i.e. it does not separate the pagepath from the queries). You would have to write your own routine for this.