angular - Prevent Google Analytics code usage on other domain
问题描述
We are planning to use Google Analytics in our Angular application. We generated GA id and integrated with code successfully. But we are observing that this code can be used on localhost or other domain. It means that any malicious team can use this ID and spoil our tracking data. How do we enforce that this ID can be used from given domain? thanks in advance
解决方案
推荐阅读
- python - 根据参数取消嵌套列表一定次数
- openstreetmap - Overpass QL:可以像边界框(bbox)一样全局设置“周围”
- linux - bash变量间接不能回显包含函数参数的变量?
- backbone.js - Backbone.js 日期输入 - 设置日期选择器默认年份标签
- outlook-addin - 调试 Outlook 加载项桌面
- javascript - Sharepoint 编辑按钮,允许用户从 web 部件的列表中编辑数据
- powerbi - YTD 按类别过滤 - DAX / Power BI
- excel - 我可以在 countif excel 函数中使用数组的元素吗?
- node.js - 无法使用 axios 在 nodejs 中通过 id 获取用户
- c++ - 如何提高计算浮点数的精度?