ga:searchDepth

77 views
Skip to first unread message

chrissky

unread,
Feb 2, 2010, 1:40:12 PM2/2/10
to google-analytics-api - GA Data Export API
The doc says "The average number of subsequent page views made on your
site after a use of your internal search feature."

I can't say that I understand this explanation in light of the value I
get from the API: 20,000. Is the doc wrong? Or am I misinterpreting? I
would have expected a value of around 2

Chris Harrington,
ShufflePoint

chrissky

unread,
Feb 2, 2010, 3:21:52 PM2/2/10
to google-analytics-api - GA Data Export API
In reply to my own question, my findings:

Results Pageviews/Search
ga:pageviews[filter ga:pagePath=="/search"] / ga:uniquePageviews
[filter ga:pagePath=="/search"]
note that
ga:pageviews[filter ga:searchUsed=="Visits With Site Search"] /
ga:uniquePageviews[filter ga:searchUsed=="Visits With Site Search"]
gives a slightly bigger number than what is presented in GA portal

% Search Exits:
= ga:searchExits / ga:searchUniques

% Search Refinements
= ga:searchRefinements / ga:pageviews[filter ga:pagePath=="/search"]

note that we would have thought it would be
= ga:searchRefinements / ga:searchUniques
but that does not match what's on the GA portal

Time after Search
= ga:searchDepth / ga:searchUniques

Search Depth
= ga:searchDepth / ga:searchUniques

avg searches / Search visit
= ga:searchUniques / ga:searchVisits

onsite search visit rate
= ga:searchVisits / ga:visits

Nick

unread,
Feb 2, 2010, 5:00:01 PM2/2/10
to google-analytics-api - GA Data Export API
Thanks for posting this Chris!
-Nick

chrissky

unread,
Feb 9, 2010, 8:02:43 PM2/9/10
to google-analytics-api - GA Data Export API
Nick,

I still cannot get the right number for "% search refinements". Can
you explain how the GA portal calculates that one?

Thanks,
Chris

Nick

unread,
Feb 16, 2010, 1:40:30 PM2/16/10
to google-analytics-api - GA Data Export API
Hi Chris,

I did some digging on this. The calculation should be
ga:searchRefinements / "Searches"

Yet the API currently does not expose a "Searches" metric, so you can
not derive this calculated metric through the API. If you'd like, feel
free to open a feature request so we can prioritize getting this
metric in the reports.

Thanks,
-Nick

chrissky

unread,
Feb 17, 2010, 12:52:35 AM2/17/10
to google-analytics-api - GA Data Export API
Thanks Nick. I added it as a feature request.
- Chris
Reply all
Reply to author
Forward
0 new messages