按用户 ID 查询 Google Analytics [英] Query Google Analytics by User ID

查看:21
本文介绍了按用户 ID 查询 Google Analytics的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用 Core Reporting API (v3) 查询结果 并通过 用户 ID 假设过滤这些结果是否正确发送到 Google Analytics?

Is there a way to query results using the Core Reporting API (v3) and filtering those results by the User ID assuming that it is being sent to Google Analytics properly?

我在谷歌上搜索了很多这个问题并阅读了一大堆文章,但我没有找到一个可以做到这一点的地方.此外,我在报告界面的任何地方都看不到 User ID 的事实使我怀疑这甚至是可能的.我猜我将不得不采用类似于推荐的内容 在这里为了做到这一点?

I've googled this question a lot and read a whole bunch of articles but I did not find one place that does that. Moreover, the fact that I cannot see the User ID anywhere in the reporting interface makes me doubt that this is even possible. I'm guessing I will have to dome something similar to what is recommended here in order to do it?

更新

显然,正如下面 Eike 的评论所强调的那样,我的问题的目的不是很清楚.我想要做的是使用客户端 API 为具有特定 ID 的特定用户生成报告,然后将这些结果与我在系统数据库中拥有的关于此用户的信息结合起来,以根据我的业务需求执行某些操作.

Apparently, the purpose of my question is not very clear as highlighted by Eike's comment below. What I want to do is generate a report for a specific user with a specific Id using the client API and then combine those results with information I have about this user in my system's database to do something as per my business requirements.

推荐答案

解决此类问题的最佳地点是 维度和指标参考.如果您要查找的维度不存在,则您无法查询它或在过滤器中使用它.

The best place to turn to for such questions is the Dimensions and Metrics Reference. If the dimension you're looking for is not there then you cannot query it or use it in a filter.

该列表确实维护得很好,因此您不太可能使用尚未记录的维度.

The list is really well maintained, so it's not very likely there are as-of-yet undocumented dimensions you could use.

用户 ID 不存在.

这篇关于按用户 ID 查询 Google Analytics的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆