[英]Measurement Protocol with uid but without cid not received in GA
I have a booking system where a booking can be made: 1. immediately by a customer, or 2. on their behalf by a customer service agent. 我有一个可以进行预订的预订系统:1.由客户立即进行,或2.由客户服务代理代表他们进行。
For 1, I've had success POSTing an event hit to the Measurement Protocol with a cid
and our uid
for a "purchase". 对于1,我成功地用
cid
和我们的uid
将事件命中率发布到Measurement Protocol,以进行“购买”。 Initially without the cid
, it wasn't working despite the docs saying only one of uid
or cid
are required. 最初没有
cid
,尽管文档说只需要uid
或 cid
中的一个,它仍然无法工作。
For 2, which isn't customer initiated, when I don't pass a cid
nothing comes through to GA (neither the real-time dashboard or the ecomm report). 对于不是由客户启动的2,当我不通过
cid
时,不会传递给GA(实时信息中心或ecomm报告)。
Here's the hit for option 1, broken in to lines for easier viewing: 这是选项1的热门内容,分为几行以便于查看:
t=event
&v=1
&tid=UA-XXXXXXX-2
&ec=Ecommerce
&ea=Purchase
&ti=176410
&ta=Some+Affiliation
&pa=purchase
&tr=123.45
&pr1id=Repair367
&pr1nm=Something+Replacement
&pr1pr=123.45
&pr1qt=1
&pr1ca=Repair%2FInspection
&pr1ps=1
&cd3=None
&ni=1
&uid=469585
OK, so it turns out this is the case: 好的,事实证明是这样的:
I'd been looking in the standard view and nothing was appearing as soon as I swapped over to a uid-only hit when it was customer service initiated. 我一直在标准视图中查看,在客户服务启动后,当我切换到仅uid命中时,什么也没出现。 So although the docs say only one of either
uid
or cid
are required, it should mention it has a significant affect on where the data is viewable in GA. 因此,尽管文档说只需要
uid
或cid
中的一个,但应该提到它对在GA中可查看数据的位置有重大影响。
Sigh. 叹。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.