Google Measurement Protocol未注册自定义维度

时间:2015-05-21 10:45:15

标签: google-analytics roku measurement-protocol

我使用Google Analytics Measurement Protocol向HTTP请求注册事件。我正在为我正在开发的Roku应用构建这个。这些事件已经发送并注册,但custom dimensions似乎无法正常工作。

这是我发送的内容

Destination URL:
    https://ssl.google-analytics.com/collect

POST body:
    v=1                             // version
    &dh=www.my-site.com             // document hostname
    &tid=UA-XXXXXXXX-X              // Tracking ID / Property ID
    &uid=(a user id)                // user id
    &cid=(an assigned UUID)         // Anonymous Client ID
    &sr=1280x720                    // screen resolution of the tv

    &t=event                        // Event hit type
    &ec=ExampleCategory             // Event Category. Required
    &ea=ExampleAction               // Event Action. Required
    &el=ExampleLabel                // Event label

    &cd1=WAAA                       // Custom dimension 1, Station
    &cd2=(some id)                  // Custom dimension 2, User ID

    &z=1432199801                   // Cache buster

当我在Google Analytics中转到Behavior > Events > Top Events并将辅助维度设置为例如,没有任何事件显示。当我脱掉次要维度时会出现这些事件,因此Google Analytics似乎并不喜欢自定义定义。

  • 我已经尝试等待24小时,看看是否存在时间延迟问题,但这没有任何帮助。
  • 我还确保打开自定义定义并将其设置为" Hit"范围类型也来自Google Analytics中的“管理”面板。

当我将上述内容提交给https://ssl.google-analytics.com/debug/collect时(如果请求有问题则返回错误的验证服务器),它表示请求有效。

知道这里会发生什么吗? 谢谢你的帮助!

0 个答案:

没有答案
相关问题