Ios 如何在iPhone中使用自定义维度/度量在google analytics上上传自定义数据?

Ios 如何在iPhone中使用自定义维度/度量在google analytics上上传自定义数据?,ios,iphone,ipad,google-analytics,google-analytics-api,Ios,Iphone,Ipad,Google Analytics,Google Analytics Api,我正在尝试使用iOS应用程序上载自定义数据 [self.tracker setCustom:1 metric:[NSNumber numberWithInt:9]]; 及 我遵循了谷歌文档提供的所有说明,并使用了 在哪里可以看到我从iOS应用程序上载的自定义数据 请告诉我是否有人可以帮助我将自定义数据从iOS上传到Google Analytics。Google文档中说: 在向其发送调用之前设置自定义维度值 希望应用该值。自定义维度的定义范围将 在处理时确定可能关联的其他点击 有这个价值 这意味

我正在尝试使用iOS应用程序上载自定义数据

[self.tracker setCustom:1 metric:[NSNumber numberWithInt:9]];

我遵循了谷歌文档提供的所有说明,并使用了

在哪里可以看到我从
iOS
应用程序上载的自定义数据


请告诉我是否有人可以帮助我将自定义数据从iOS上传到Google Analytics。

Google文档中说:

在向其发送调用之前设置自定义维度值 希望应用该值。自定义维度的定义范围将 在处理时确定可能关联的其他点击 有这个价值

这意味着自定义维度属于命中操作(例如:sendView、sendAction)。在您的代码中,我找不到任何发送调用

有关自定义维度的示例代码:

// Get the tracker object.
id tracker = [[GAI sharedInstance].defaultTracker;

// Set the dimension value for index 1.
[tracker setCustom:1
         dimension:@"myValue"];

// Dimension value is associated and sent with this hit.
[tracker sendView:screenName];

希望能对您有所帮助。

非常感谢。但我仍在苦苦挣扎,在哪里可以看到上传到谷歌上的维度值analytics@PushpendraSingh看看这篇关于Google Analytics中访问自定义维度的文章怎么样:我认为我们正在偏离轨道。我想在这里查看数据:
// Get the tracker object.
id tracker = [[GAI sharedInstance].defaultTracker;

// Set the dimension value for index 1.
[tracker setCustom:1
         dimension:@"myValue"];

// Dimension value is associated and sent with this hit.
[tracker sendView:screenName];