谷歌Analytics(分析)Android SDK中自定义的增值分销商未注册/没有显示? [英] Google Analytics Android SDK custom vars not registered/not showing?

查看:125
本文介绍了谷歌Analytics(分析)Android SDK中自定义的增值分销商未注册/没有显示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我仍然围绕碴与此谷歌分析SDK。据,我应该能发送自定义瓦尔与访客的范围,其中包括应用程序的版本,以及手机型号。

So I'm still mucking around with this Google Analytics SDK. According to this, I should be able to send custom vars with a visitor scope that include the app version, and the phone model.

使用tracker.getVisitorCustomVar(我)我可以看到的信息确实是存储,日志显示NetWorkRequestUtil / ConstructPageviewRequestPath与包含自定义瓦尔的消息。

Using tracker.getVisitorCustomVar(i) I can see that the information is indeed stored, and the log shows NetWorkRequestUtil/ConstructPageviewRequestPath with a message that contains the custom vars.

不过,这并不与其它跟踪信息沿着所述分析报告中显示。我以为我会觉得下Visitors->自定义变量,但这只是说

But it does not show up in the analytics report along with the other tracking information. I thought I would find it under Visitors->Custom Variables, but that only says

有对这个观点没有数据。

There is no data for this view.

我在哪里可以看到自定义变量? (

Where can I see the custom variables? :(

推荐答案

如何多久以前纳入定制瓦尔?分析不是实时的,也可以是一个--i think--24小时差距?

How long ago did you incorporate the custom vars? Analytics is not realtime, there can be an --i think-- 24 hour gap?

我这样做,它为我工作。我假设你得到其他数据,让你跟踪器的初始化和'调度'是正确的?
您可以设置customvar像这样(像我想象你正在做的媒体链接)。

I'm doing this, and it works for me. I'm assuming you do get other data, so your initialisation and 'dispatching' of the tracker is correct? You can set your customvar like so (as I imagine you are doing allready).

tracker.setCustomVar(TRACK_SLOT_AUTH, TRACK_CVAR_AUTH, isAuth, TRACK_SCOPE_SESSION);

(使用全局变量,以确保没有覆盖这里已经使用的插槽,但我们的目的应该清楚)

(using global vars to be sure not to override already used slots here, but the intention should be clear)

Visitors-下的数据显示,高达>自定义变量

The data shows up under Visitors->Custom Variables

这篇关于谷歌Analytics(分析)Android SDK中自定义的增值分销商未注册/没有显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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