I have a site running Google analytics and I end up being a large fraction of the traffic to it (like 1 of the 2 hits per day). Is there any way I can set it so that my browsing doesn't skew the numbers so much? I'd be happy if it just didn't record anything for accesses that are logged in as my Google account.
我有一个运行谷歌分析的网站,我最终只是流量的一小部分(比如每天2次点击中的1次)。有什么方法可以设置它,以便我的浏览不会如此扭曲数字?如果它没有为我的Google帐户登录的访问记录任何内容,我会很高兴。
5 个解决方案
#1
Use the Filter Manager in your analytics settings
在分析设置中使用过滤器管理器
#2
You can use filter to exclude
您可以使用过滤器进行排除
- Traffic from a a domain
- IP address
- Sub directory
来自域的流量
or you can use a custom filter. You can edit your site to set a campaign code if you login in and use the custom filter to exclude that campaign code.
或者您可以使用自定义过滤器。如果您登录并可以使用自定义过滤器排除该广告系列代码,则可以修改您的网站以设置广告系列代码。
You can also try out the ip filter if you use the same machine.
如果您使用同一台机器,也可以尝试使用ip过滤器。
#3
One option would be to use an ad blocking or javascript disabling extension in your browser to prevent google analytics from being loaded.
一种选择是在浏览器中使用广告拦截或javascript停用扩展程序,以防止加载Google Analytics。
#4
A neat solution is to simply stop the tracking javascript from being sent to the browser based on a cookie set on your machine. This can be done by simply adding a few lines of code to your page. Take a look at this article for a full explaination.
一个简洁的解决方案是简单地停止跟踪javascript根据您机器上设置的cookie发送到浏览器。只需在页面中添加几行代码即可完成此操作。看一下这篇文章的完整解释。
#5
If you login there logged in as a site user, maybe you basing on this you just do not put the JavaScript for Google Analytics in the output HTML. This is a typical case when you are an administrator and you do not want to mess the results basing on your activities.
如果您以登录网站用户身份登录,也许您基于此,则不要将Google Analytics的JavaScript放在输出HTML中。当您是管理员并且不希望根据您的活动弄乱结果时,这是典型情况。
If you are able to touch the code that runs your site I think this is the simplest way to go.
如果您能够触摸运行您网站的代码,我认为这是最简单的方法。
If it is not the case, please provide some more details.
如果不是这样,请提供更多详细信息。
#1
Use the Filter Manager in your analytics settings
在分析设置中使用过滤器管理器
#2
You can use filter to exclude
您可以使用过滤器进行排除
- Traffic from a a domain
- IP address
- Sub directory
来自域的流量
or you can use a custom filter. You can edit your site to set a campaign code if you login in and use the custom filter to exclude that campaign code.
或者您可以使用自定义过滤器。如果您登录并可以使用自定义过滤器排除该广告系列代码,则可以修改您的网站以设置广告系列代码。
You can also try out the ip filter if you use the same machine.
如果您使用同一台机器,也可以尝试使用ip过滤器。
#3
One option would be to use an ad blocking or javascript disabling extension in your browser to prevent google analytics from being loaded.
一种选择是在浏览器中使用广告拦截或javascript停用扩展程序,以防止加载Google Analytics。
#4
A neat solution is to simply stop the tracking javascript from being sent to the browser based on a cookie set on your machine. This can be done by simply adding a few lines of code to your page. Take a look at this article for a full explaination.
一个简洁的解决方案是简单地停止跟踪javascript根据您机器上设置的cookie发送到浏览器。只需在页面中添加几行代码即可完成此操作。看一下这篇文章的完整解释。
#5
If you login there logged in as a site user, maybe you basing on this you just do not put the JavaScript for Google Analytics in the output HTML. This is a typical case when you are an administrator and you do not want to mess the results basing on your activities.
如果您以登录网站用户身份登录,也许您基于此,则不要将Google Analytics的JavaScript放在输出HTML中。当您是管理员并且不希望根据您的活动弄乱结果时,这是典型情况。
If you are able to touch the code that runs your site I think this is the simplest way to go.
如果您能够触摸运行您网站的代码,我认为这是最简单的方法。
If it is not the case, please provide some more details.
如果不是这样,请提供更多详细信息。