最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - retrieving Google Analytics' behavior flow via google's API? - Stack Overflow

programmeradmin2浏览0评论

I am successfully using node.js to download some data from Google Analytics with the excellent google-api-nodejs-client.

Unfortunately I didn't find yet a way to download the data presented in the Behavior/Behavior Flow page.

Anyone has some ideas on how to retrieve flow data from the APIs?

I am successfully using node.js to download some data from Google Analytics with the excellent google-api-nodejs-client.

Unfortunately I didn't find yet a way to download the data presented in the Behavior/Behavior Flow page.

Anyone has some ideas on how to retrieve flow data from the APIs?

Share Improve this question asked Feb 8, 2014 at 16:15 fstabfstab 5,0499 gold badges40 silver badges71 bronze badges 1
  • Were you successful in your effort? – Michal Hosala Commented Oct 31, 2019 at 10:23
Add a ment  | 

1 Answer 1

Reset to default 8

The Behavior -> Behavior flow reports visualizes the path visitors traveled from one Page or Event to the next. I dont know of any documentation as to exactly how Google Creates them but i can make a few educated guess's.

If we look at the dimensions available under Page Tracking there are a few dimensions that look interesting.

ga:landingPagePath  
ga:secondPagePath
ga:nextPagePath
ga:previousPagePath 

I would start by exporting those and see if you cant piece the flow together. Remember you don't have and can't get the actual Session ID for the user. This will make it either hard or impossible for you to recreate the flow in the same way that Google does. But you might be able to get close.

发布评论

评论列表(0)

  1. 暂无评论