简体   繁体   English

GA4 测量协议 IP 覆盖

[英]GA4 Measurement protocol IP override

When sending events to GA4 is there a way to override user ip, if using universal analytics you could have passed a user_ip variable uip but for GA4 I dont see a param option to pass user ip.向 GA4 发送事件时,是否可以覆盖用户 ip,如果使用通用分析,您可以传递 user_ip 变量uip ,但对于 GA4,我没有看到传递用户 ip 的参数选项。 Any help would be appreciated任何帮助,将不胜感激

OK found a temporary solution here . OK 在这里找到了一个临时解决方案。

instead of &uip=xxxx in the url, add &_uip=xxxx .代替 url 中的 &uip= &uip=xxxx ,添加&_uip=xxxx

Google tends to prefix alpha/beta URL parameters with underscore _ Google 倾向于在 alpha/beta URL 参数前加上下划线 _

No parameter is necessary:不需要参数:

For Google Analytics 4 properties, IP anonymization is enabled by default .对于 Google Analytics 4 属性,默认情况下启用 IP 匿名化 The content provided below describes the IP anonymization process for legacy Google Analytics tags.下面提供的内容描述了旧版 Google Analytics 标记的 IP 匿名化过程。

Source资源

So this isn't even handled on the level of code (ie you couldn't enable it if you tried), it's built into the property.因此,这甚至没有在代码级别上处理(即,如果您尝试过,您将无法启用它),它内置在属性中。

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

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