javascript - Getting Specific Google Analytics Goal Funnel Stage - Stack Overflow

I am trying to get specific goal stages values..But I am only able to getWith the API Expolorerthe st

I am trying to get specific goal stages values.. But I am only able to get With the API Expolorer

the startGoal and Goal Completed (Look at the picture I've attached to understand what I'm unable to get) With the

ga:goal1Start

I am able to get the number: 15,963(Look at the picture ive attached to understand)

and with the

ga:goal1Completions

I am able to get the number: 31(Look at the picture ive attached to understand)

How can I get the middle stages at the goals with the value 156? Is that even possible?

Api Explorer: .data.ga.get?ids=ga%253A68044380&start-date=2013-02-20&end-date=2013-02-20&metrics=ga%253Agoal1Starts%252C+ga%253Agoal1Completions&_h=24&!

I am trying to get specific goal stages values.. But I am only able to get With the API Expolorer

the startGoal and Goal Completed (Look at the picture I've attached to understand what I'm unable to get) With the

ga:goal1Start

I am able to get the number: 15,963(Look at the picture ive attached to understand)

and with the

ga:goal1Completions

I am able to get the number: 31(Look at the picture ive attached to understand)

How can I get the middle stages at the goals with the value 156? Is that even possible?

Api Explorer: https://developers.google./apis-explorer/#p/analytics/v3/analytics.data.ga.get?ids=ga%253A68044380&start-date=2013-02-20&end-date=2013-02-20&metrics=ga%253Agoal1Starts%252C+ga%253Agoal1Completions&_h=24&!

Share Improve this question edited Dec 29, 2013 at 1:56 Kara 6,22616 gold badges53 silver badges58 bronze badges asked Feb 21, 2013 at 13:56 D_RD_R 4,9724 gold badges46 silver badges62 bronze badges 1
  • Add a second goal (either Url goal or add an event to that page) ? Or, since it seems impossible to enter the page from outside the goal funnel, you could simply query the url for that page. – Eike Pierstorff Commented Mar 1, 2013 at 8:37
Add a ment  | 

2 Answers 2

Reset to default 7 +50

Those in-between numbers are not directly accessible through the API - neither the typical GA API nor the new Multi Channel Funnels API. The Multi Channel Funnels API deals with users visiting from multiple sources (or 'channels') before pleting a goal, so the 'funnel' in its name actually refers to a different type of funnel than the one we are concerned with here -- a funnel of pageviews within one visit.

Although these intermediate numbers are not available through the API directly, we can use the API and some documentation-based knowledge to calculate them.

This Google Analytics documentation gives great information on how the Funnel Visualization report is calculated. I'll refer to sections of this document for clarity in calculating the numbers that you see at intermediate steps, because these numbers are not as simple as pageviews or visits to that step.

Looking at your funnel, I believe that you have selected the "Required 1st Step" option. I'll go through the explanation without this option first, and then explain how we can modify our process to take the required first step into consideration. I'll model your funnel as Step 1 > Step 2 > Step 3 > Completion, and I'll assume we want the number associated with Step 3. The process would be similar for Step 2.

Without Required First Step

We need to gather the following information from the API. To do so, you should create advanced segments to match these populations in the GA interface, and then use the segments in the API by numeric id:

  1. Number of visits to the URL associated with Step 3 (see documentation, "Unique Pageviews").
  2. Number of visits to the Completion URL who did not visit Step 3, as the funnel visualization report will backfill these visits (see documentation, "Backfilling Funnel Steps).

Advanced Segment for Completion Visits without Step 3

Then add the results of 1 and 2 together.

With Required First Step

You'll collect the same information as in Steps 1 and 2 above, but you'll extend the advanced segments to require that the visit includes Step 1 as well.

Advanced Segment for Step 3 Visits, Step 1 Required

You cannot get this information by accessing the normal Google Analytics API, but there is another API called "Multi Channel Funnel" API (more precisely: Conversion Paths - Dimensions & Metrics) that should let you extract the data you're looking for. I have only used the ga: calls so far myself, but it is my understanding that this is exactly what the mcf: calls are for.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745497503a4630258.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信