简体   繁体   English

“没有这种观点的数据。” 在 Google Analytics 的 Measurement Protocol 中具有自定义维度的报告中

[英]“There is no data for this view.” in reports with custom dimensions in Measurement Protocol of Google Analytics

Our application needs to gather usage data through the Measurement Protocol of Google Analytics.我们的应用程序需要通过 Google Analytics 的测量协议收集使用数据。

We can successfully send "appview" hits to the Google Analytics server, and get a proper response by it (a GIF image).我们可以成功地将“appview”命中发送到 Google Analytics 服务器,并得到它的正确响应(GIF 图像)。 The appview hits appear on the GA Dashboard, along with the country of origin, session duration, etc. appview 命中显示在 GA 仪表板上,以及来源国家/地区、会话持续时间等。

We also have several custom dimensions and metrics that we want track for each hit.我们还有几个自定义维度和指标,我们希望对每次点击进行跟踪。 We have set those up in the GA Admin panel with the correct scope, index and active state.我们已经在 GA 管理面板中设置了正确的范围、索引和活动状态。 We have 3 Hit-scoped dimensions, 3 User-leveled dimensions and 1 Hit-scoped metric, all set to Active state.我们有 3 个命中范围维度、3 个用户级别维度和 1 个命中范围指标,所有这些都设置为活动状态。

We send the dimensions and metrics as described in the docs at我们按照文档中的描述发送维度和指标,网址为

Custom Dimensions / Metrics 自定义维度/指标

attached to the hits they apply for, like so:附加到他们申请的命中,如下所示:

...&cm1*=3    <--for the metric

and

...&cd6*=15   <--for the dimensions (some dimensions have numeric values, others are text)

The problem is that those metrics and dimensions don't show up in our custom reports: the reports always say "There is no data for this view."问题是这些指标和维度没有显示在我们的自定义报告中:报告总是说"There is no data for this view." . . For example, we have a report that has one dimension and one metric, without any filters, set to "Any view".例如,我们有一个报告,它有一个维度和一个指标,没有任何过滤器,设置为“任何视图”。 It doesn't matter if the Type of the report is Explorer, Flat Table or Map Overlay, it never shows anything.报告的类型是 Explorer、Flat Table 还是 Map Overlay 都没有关系,它从不显示任何内容。

There have been several days since the hits were received and appeared in the dashboard, but the reports are still empty.收到命中并出现在仪表板中已经有几天了,但报告仍然是空的。 So scratch out any processing lag.因此,消除任何处理延迟。

We tried sending " event " hits instead of " appview " hits - again, the hits show up in the Dashboard, but the reports are empty.我们尝试发送“ event ”点击而不是“ appview ”点击 - 同样,点击显示在仪表板中,但报告是空的。

We cannot get any useful insights without using dimensions and metrics - so there is no way to get by without this.如果不使用维度和指标,我们将无法获得任何有用的见解 - 因此,没有这些就没有办法。

Because of reasons too long to describe, we cannot use any of the Google-provided Analytics libraries.由于无法描述的原因,我们无法使用任何 Google 提供的分析库。

Is there anything else we need to do to see data in those reports?要查看这些报告中的数据,我们还需要做些什么吗?

When using the measurement protocol you need to that the profile is not set to exclude bot and spiders.使用测量协议时,您需要将配置文件设置为排除机器人和蜘蛛。

Go to the google analytics website under the admin and the settings under the profile in question.转到管理员下的谷歌分析网站和相关配置文件下的设置。

在此处输入图片说明

Beyond that check the realtime reports you should see the hits coming in. You will need to wait 24 -48 hours for data to appear in the standard reports due to data processing lag.除此之外,检查实时报告,您应该会看到点击量。由于数据处理滞后,您需要等待 24 -48 小时,数据才会出现在标准报告中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Analytics HTTP请求中未跟踪自定义维度(度量协议) - Custom dimensions not tracked in Google Analytics HTTP requests (Measurement Protocol) 在哪里获取谷歌分析测量协议中自定义维度的索引 ID - Where to get the index id for a custom dimensions in the google analytics measurement protocol 未收集Google Analytics(分析)衡量协议的自定义维度和指标 - Google Analytics Measurement Protocol Only Custom Dimensions and Metrics did not collected 无法在测量协议谷歌分析中的不同级别添加自定义维度 - Not able to add custom dimensions at different levels in measurement protocol google analytics Google Analytics测量协议不在视图中 - Google Analytics Measurement Protocol Not in View 在测量协议上查看 ID - Google Analytics - View ID on Measurement Protocol - Google Analytics 尝试使用Measurement Protocol将数据发送到Google Analytics - Trying to send data to Google Analytics with Measurement Protocol Google Analytics测量协议 - Google Analytics Measurement Protocol Google Analytics - Measurement Protocol - 在增强型电子商务报告中无法识别/显示点击 - Google Analytics - Measurement Protocol - Hits not recognized/visible in Enhanced Ecommerce Reports 使用Google Measurement Protocol将自定义维度发送到Google Analytics(分析) - Sending a custom dimension to Google Analytics using the Google Measurement Protocol
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM