我该如何按照以下方式将自定义度量值附加到
HitBuilders.TransactionBuilder
中?我想将交易与一个值关联起来。
tracker.send(new HitBuilders.TransactionBuilder()
.setOtherAttributes(...)
.setCustomMetric(1, 10)
.build());
其余数据已成功发送,但自定义度量始终为0。
analytics.getLogger().setLogLevel(Logger.LogLevel.VERBOSE);
,但它没有在logcat上显示日志。它不会出现在报告中,我也无法验证它是否发送了自定义指标。 - awonderer