有没有办法阻止 Google Analytics 将开发工作计算为点击次数? [英] Is there a way to stop Google Analytics counting development work as hits?

查看:29
本文介绍了有没有办法阻止 Google Analytics 将开发工作计算为点击次数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将所需的 JavaScript 添加到页面底部,以便我可以使用 Google Analytics(分析).唯一的问题是我确信它把我所有的开发工作都算作点击率.因为我每天可能会看到其中一些页面一百次,所以它真的会扭曲我的阅读.有没有办法从特定的 IP 地址关闭它,或者这是否应该内置到我的构建过程中,以便只有在我为部署而构建时才会添加它?

I have added the JavaScript that I need to the bottom of my pages so that I can make use of Google Analytics. Only problem is that I am sure that it is counting all my development work as hits. Seeing as I probably see some of those pages a hundred times a day it will really skew my readings. Is there a way to turn it off from a particular IP address or is this something that should be built into my build process so it only gets added when I build for deployment?

推荐答案

是的,您进入 Analytics Settings,编辑您的站点,然后 +Add Filter 来定义一个排除您的 IP 地址的过滤器.

Yeah, you go into Analytics Settings, edit your site, and +Add Filter to define a filter that excludes your IP address.

应用过滤器后不会重新生成过去的数据,因此您只会从它们前进的过程中受益.

Past data is not regenerated with filters applied, so you'll only have the benefit of them moving forward.

这篇关于有没有办法阻止 Google Analytics 将开发工作计算为点击次数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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