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

查看:99
本文介绍了有没有办法阻止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?

推荐答案

是的,你进入分析设置,编辑你的网站,+添加过滤器来定义一个过滤器,排除你的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天全站免登陆