javascript - 我可以从 Google Analytics 获取位置信息吗
问题描述
我正在开发仪表板。此仪表板从我开发的其他网站获取一些信息。我想查看访问我在仪表板项目中开发的网站的人的位置。Google Analytics 是否与 API 共享位置信息?
解决方案
您可以使用地理网络维度:
Continent ga:continent
Sub Continent ga:subContinent
Country ga:country
Region ga:region
Metro ga:metro
City ga:city
Latitude ga:latitude
Longitude ga:longitude
Network Domain ga:networkDomain
Service Provider ga:networkLocation
City ID ga:cityId
Continent ID ga:continentId
Country ISO Code ga:countryIsoCode
Metro Id ga:metroId
Region ID ga:regionId
Region ISO Code ga:regionIsoCode
Sub Continent Code ga:subContinentCode
https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/
推荐阅读
- python - Python 和 Selenium 访问保存的网页
- android-studio - 如何在片段中的 recyclerView 上打开不同的活动?
- php - EasyAdmin 3:OneToMany 字段名称未显示在主页上
- flutter - 我如何制作一个带有监听器颤动的动态控制器
- javascript - 内部服务器错误(我遵循了这封信的教程,但我仍然收到 2 个错误)
- nsis - 如何在 NSIS 中以管理员权限在 CMD 中运行命令?
- elasticsearch - 当我在我的 kafka 源连接器配置中使用“output.json.formatter”时,Mongo Elasticsearch Sink 连接器不起作用
- css - SVG 动画中的 % 单位似乎与父级和自身相关?
- python - 我已经尝试了相同代码的 2 种变体,但我一生都无法弄清楚为什么它们给出不同的结果,而它们似乎是等价的
- python - 持续监控屏幕上的文本变化