简体   繁体   English

GA4:使用 Measurement Protocol 发送事件时显示“(未设置)”的地理数据

[英]GA4: Geographic Data showing "(not set)" when event is sent using Measurement Protocol

I send events through Measurement Protocol and I have no problem obtaining the data from the custom dimension′s parameters.我通过 Measurement Protocol 发送事件,并且从自定义维度的参数中获取数据没有问题。

However, the data for "City" and "Country" are just displayed as "(not set)" for all the events I have sent until now.但是,对于我迄今为止发送的所有事件,“城市”和“国家”的数据仅显示为“(未设置)”。

Does anyone have any idea why this is happening?有谁知道为什么会这样? Thank you in advance.先感谢您。

I missed this information from the site.我错过了网站上的这些信息。

Geographic information is only available via automatic collection from gtag, Google Tag Manager, or Google Analytics for Firebase.地理信息只能通过 gtag、Google 跟踪代码管理器或 Google Analytics for Firebase 的自动收集获得。

https://developers.google.com/analytics/devguides/collection/protocol/ga4 https://developers.google.com/analytics/devguides/collection/protocol/ga4

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM