Programmatically parsing Google Analytics “What pages do your users visit?” day by day?

…衆ロ難τιáo~ 提交于 2021-02-11 12:49:45

问题


I am not a Google Analytics power user, but something tells me that if I wanted to parse out the "What pages do your users visit?" box:

It should be a lot easier to do it by individual day than manually clicking through "Today", "Yesterday", then selecting individual calendar dates using "Custom". Unfortunately, if I click on the "PAGES REPORT" option and select the date range I'd like to explore in full (e.g., previous year or more), I can't see on what days what page was visited because the results are all binned together per page visited per date range, with no indication of the specific individual days that it was visited:

Is there a programmatic way (e.g., using an API) to cleanly query and parse Google Analytics "What pages do your users visit?" results to obtain day-by-day info without needing to select today, yesterday, the day before, etc. manually by hand hundreds of times?

The only relevant post I could find on this was: Get a result for each day, instead of total in date range, with Google Analytics API (but it wasn't particularly helpful to me)


回答1:


You have to select a date range and select Date as secondary dimension, so you can see pages visited in each day without doing it one day at a time.



来源:https://stackoverflow.com/questions/66056818/programmatically-parsing-google-analytics-what-pages-do-your-users-visit-day

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!