通过Reporting API从Googel分析中获取ClientId和UserId

问题描述 投票:1回答:1

我想从GA收集所有userId和clientId。

我可以在dashoboard中看到userId:

Custom options

但是我找不到如何从APi for All用户那里获得相同的信息。如何使用Reporting API做到这一点?

api google-analytics google-analytics-api google-reporting-api google-analytics-userid
1个回答
0
投票

UserIdClientID是自定义尺寸。因此,请使用ga:dimensionXX并将XX替换为您自定义尺寸的索引。

https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/

© www.soinside.com 2019 - 2024. All rights reserved.