从GA4 API中检索user_pseudo_id
有没有办法从GA4 API检索user_pseudo_id字段?它不存在于但是,尽管可以将其指定为尺寸,但也不是UA的客户端。
请参阅参考GA-UA API。
我需要从GA4中检索历史数据并将其导入Google BigQuery,但并非所有出口字段都存在于GA4 API中。
Is there a way to retrieve the user_pseudo_id field from GA4 api? It is not present in the dimensions list of the documentation but neither was the clientId for UA although it could be specified as a dimension.
See reference for clientID parameter in the older GA-UA APIs.
I need to retrieve historical data from GA4 and import them into Google BigQuery but not all export's fields are present in the GA4 api.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要通过Google标签管理器将其作为自定义用户参数传递。只需设置一次,然后将其余的GA4标签继承就可以继承它。这是关于如何执行此操作的一个很好的教程: https://www.simoahava.com/gtmtips/write-client-id-id---------------------datalayer/
You will need to pass it as a custom user parameter via Google Tag Manager. Just need to set it once and then the rest of your GA4 tags will inherit it. Here’s a pretty good tutorial on how to do this: https://www.simoahava.com/gtmtips/write-client-id-other-gtag-fields-datalayer/