Google Analytics如何收集“用户语言”数据? [英] How do Google Analytics collect "user language" data?

查看:107
本文介绍了Google Analytics如何收集“用户语言”数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

GA是否通过js端的 window.navigator.language 收集或者使用 Accept-Language 标题检查服务器端?

解决方案

Google Analytics从 Accept-Language 标题。有关详情,请参阅 http:// www。 lunametrics.com/blog/2013/02/12/languages-report-google-analytics/ 和此处 https://webmasters.stackexchange.com/questions/12942/does-google-analytics-track-users-with-multiple-languages


Do GA collect via window.navigator.language on js side or use a Accept-Language header check on server side?

解决方案

Google Analytics reads language preference from the Accept-Language header. See more about this here http://www.lunametrics.com/blog/2013/02/12/languages-report-google-analytics/ and here https://webmasters.stackexchange.com/questions/12942/does-google-analytics-track-users-with-multiple-languages

这篇关于Google Analytics如何收集“用户语言”数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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