4 ms·
UBlock defaults to blocking Google Analytics tracking
- bhouston 12y agoMore here: https://github.com/gorhill/uBlock/blob/e6707fe8b155cc92da1cb5e4aad7098b057429cd/assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt#L2912 https://github.com/gorhill/uBlock/blob/e6707fe8b155cc92da1cb... This screws my efforts to try to optimize my site for increased traffic and to work towards longer user sessions. This hurts my website.
- mtmail 12y agoGoogle Analytics is already blocked by multiple ad blockers. Sorry, those users don't care if you want use 3rd party tracking software.
- johnpowell 12y agoSorry about that. But it is more important that Google doesn't store every website I visit to build a better profile of me.
- dozy 12y agoIt is against the terms of service of Google analytics to pass any PII such that you can track an event back to any particular person. On top of that, the code for Google Analytics js is available for your review, along with its network requests, such that you can hold them to their word.
- ubercow13 12y agoIn most cases wouldn't it just be enough that you're logged into your Google account recently via the same IP
- gojomo 12y agoThe section about "personally identifiable" information in the Google Analytics Terms of Service [1] does not limit Google, but the site using GA. Practically, I'm not sure that can even be enforced, or that Google has any incentive to enforce it. If a site uniquely tags each user via custom variables, or by sending users to a unique resource/goal/interim URL, will Google detect this and obscure/destroy the resulting data? Or is such tracking for the site's own purposes a core feature of GA? And Google often has its own PII about the same user, from other visits to Google's own sites, anyway. [1] http://www.google.com/analytics/terms/us.html http://www.google.com/analytics/terms/us.html - section 7 "Privacy"
- zwetan 12y agoyou are allowed to uniquely identify a user with a "User ID" which is different than the "Client ID" https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#user https://developers.google.com/analytics/devguides/collection...
- kybernetikos 12y ago> It is against the terms of service of Google analytics to pass any PII such that you can track an event back to any particular person. You need barely any information to construct a personally identifiable profile. The fact that you as the user of google analytics can't do it says nothing about googles ability to do it. http://arstechnica.com/tech-policy/2009/09/your-secrets-live-online-in-databases-of-ruin/ http://arstechnica.com/tech-policy/2009/09/your-secrets-live...
- nfoz 12y agoGoogle's spying hurts your users. To manage your webserver, use your server logs. If you really think you need more information than those convey, you could get some self-hosted javascript to assist with that. You need nothing else.
- ddebernardy 12y ago> Use your server logs. That's hardly useful though. Logs are littered with bot traffic, and several users or sessions can be hiding behind a single IP address. Also, you've absolutely no means to track segments of traffic. Self-hosted javascript is an only vaguely better option. You then need to worry about the infrastructure needed to write the data in a reasonably scalable way as you get larger, and processing the data in a useful manner isn't necessarily something an average Joe can do.
- bigbugbag 12y agoIf you need help to deal with your server logs, hire a professional. By the time you got large enough to have to worry about scaling an infrastructure to deal with your server logs you should either have grown out of the average joe category or have enough revenue to hire a sysadmin.
- zwetan 12y agoThe whole point of using a solution like google analytics which is free (to a certain extend) is to not have to hire a professional. There is no way a single sysadmin (how good he think he is) could write the code required for the analytics of a high volume web site (eg. ranked in the top 1000). Also, without analytics right from the start, I can guarantee you, your web site will never grow, at least certainly not to a high volume web site. And here the thing that do happen when your web site have a high volume (you know, in real life and not on a fantasy island), even if you reduce your analytics sampling to 10% your web site traffic can still be bigger than the maximum allowed "for free". So you decide "let's write our own solution" and you assign it to a team of about 5 devs and it take them a good 6 months to finally be able to track data, and then your pointy hairy boss realise he has no nice visual way to read this data (because he want basically the same thing as google analytics). so tell me again why I/we should not use ga again ?
- conphill 12y agoI agree. I understand that people have issues with being retargeted by ad platforms and hate seeing the same ad follow them around, but I don't really seem any downside to users being tracked by 3rd party platforms like Google Analytics. Platforms like GA, don't track first party information and anonymize who you are with a randomly generated ID. This is the only thing that makes your visit unique from the rest. I don't see any harm in providing that information. How do you expect businesses to get insights into what features users like or dislike in their product? I can easily see users of a tool like this complain about a change in one of their favorite products, but by preventing them from any insights how does the business figure that out?
- teamhappy 12y ago> How do you expect businesses to get insights into what features users like or dislike in their product? Collect the data you need yourself. If you don't want to do that (it's really easy) then the data can't be that useful/important to you. Another way would be to, you know, ask your users. What bugs me is that people seem to think it's okay to send my data to another company (usually many, in all kinds of different jurisdictions) without even considering to ask for my consent. That's not nice, is it? You could ask me, on first visit, if I'm okay with you sending my (anonymous) data set to Google. It's really not that hard, is it? Just ask. But you don't. Not only does nobody do that, I'm pretty sure most people don't even consider doing it. That's the most offensive part. So what am I left with? I could stop using the WWW all together, I suppose, or, I could block Google Analytics and the likes before hand, and then, if I feel comfortable doing it, opt in to sharing my data because I like your service and I want it to improve. You and Google don't ask for my consent, but Ghostery does. That's why I (have to) use it. --- bhouston said: "This type of stuff should be opt-in." (blocking GA, that is) I hope the people reading my comment can appreciate the irony. [By the way, the hypothetical guy I'm yelling at — not you] --- One hour later. Can't make this up. https://www.eff.org/deeplinks/2015/01/healthcare.gov-sends-personal-data https://www.eff.org/deeplinks/2015/01/healthcare.gov-sends-p... https://news.ycombinator.com/item?id=8920294 https://news.ycombinator.com/item?id=8920294
- Karunamon 12y ago
- eli 12y agoIt's unfortunate so many people are downvoting you apparently just because they don't agree. I'm not sure I agree, but you have a totally valid and reasonable point of view.
- bigbugbag 12y agoWhat really hurts your website is that you rely on google (or any other dominant third party). What visitor care for is good content. Try checking http://www.webpagesthatsuck.com/does-my-web-site-suck/ http://www.webpagesthatsuck.com/does-my-web-site-suck/
- waxjar 12y agoYour user sessions should be short, preferably. If I take a long time to find what I need, you have a badly designed website (or an uninteresting one). Unless you're trying to make a time-sink website like imgur, that is.
- mtmail 12y agoIf you read https://github.com/gorhill/uBlock/#philosophy https://github.com/gorhill/uBlock/#philosophy then that's not surprising at all. Disconnect.me also blocks Google Analytics.
- bhouston 12y agoBlocking standard analytics on small websites who do not server ads is being dick. Now I do not know who is using my website. I can not optimize it for longer user sessions, I can not figure out which are the most popular pages, I can not record client-side errors, I can not track caching and page load time. Basically this screws over those want to create good website experiences. Blinding us in this way is pretty useless. This type of stuff should be opt-in. Most people install uBlock to remove Ads. But now we are making them invisible to websites at the same time, which is not what most people signed up for.
- rmxt 12y agoI think a fair portion of the people who are consciously blocking GA might think that beaming back a ton of information to the Google mothership is also "being dick," because they don't want ad-tracking profiles to be built for them based on their browsing habits across millions of websites. If you want to balance the desires of your privacy-savvy users and your craving for analytics, why not use Piwik and self-host it on your own domain? No external requests, and no information back to Google.
- acheron 12y agoGood. So does Ghostery, for that matter. It'd be a pretty poor blocker if it didn't block one of the biggest trackers out there.
- ubercow13 12y agoThanks, ublock
- dozy 12y agoLittle nitpick - the line linked to is /googleanalytics.js, which I believe in most situations will do absolutely nothing. It's the lines referring to "analytics.js" and "ga.js" that actually matter. EDIT: For clarification, analytics.js and ga.js are in indeed listed, as are many other analytics services, bugsnag and kissmetrics to name a few.
- DangerousPie 12y agoThe filter that actually blocks it (at least in my installation) is "||google-analytics.com^".
- Glyptodon 12y agoThe smallest violin in the world is playing a tune while I cry crocodile tears. It's just doing what it's supposed to do.
- ArtDev 12y agoMaybe it will balance out all of the false positives from bots? I get so much fake traffic, I don't know the real numbers anyhow.
- maxmcd 12y agoFake traffic? I have access to a few mid/high-traffic sites on GA. We do a lot of event tracking, so unless these are very sophisticated bots I imagine I would pick up on a lot of bot traffic. Mind expanding on the fake traffic you're getting?
- michaelbuckbee 12y agoHere's the most prominent one that's happening now: http://www.incapsula.com/blog/semalt-botnet-spam.html http://www.incapsula.com/blog/semalt-botnet-spam.html Basically referrer spam.
- gorhill 12y agoYes, but not because of EasyPrivacy. As I found out at one point, EasyPrivacy does not block everything from Google Analytics. [1] The one that does the job is Peter Lowe's [2] I wish you would see how convoluted is your suggestion "to let users opt-in to not be tracked by Google Analytics". (paraphrased) [3] [1] https://www.diffchecker.com/r7v1cq6x https://www.diffchecker.com/r7v1cq6x [2] https://github.com/gorhill/uBlock/blob/master/assets/thirdparties/pgl.yoyo.org/as/serverlist#L1512 https://github.com/gorhill/uBlock/blob/master/assets/thirdpa... [3] https://github.com/gorhill/uBlock/issues/564 https://github.com/gorhill/uBlock/issues/564 Edit: "being" => "be"
- fs111 12y agoThat is awesome!
- zwetan 12y agoit is pretty easy to unblock 1. host the analytic js on your own domain 2. and/or rename it at the very worst you can do the analytic tracking server side, I know that because I had to do it to track RESTful API usage as json/xml can not allow you to embed the ga.js eg. 1. read a _ga cookie, if it does not exists create it 2. not fan of it but you can make it more persistent with a session (I know, opposite to the idea of stateless with REST) 3. and use the measurement protocol (universal analytics) server side which is trivial to implement here an example in PHP http://pastebin.com/PQCRcJXq http://pastebin.com/PQCRcJXq
- gergles 12y agoThe Panopticon approach of "I am entitled to everything about you and your browsing activity because I technically CAN get it" is very troublesome and I'm glad that µblock takes a small step to revert that. If some guy followed you around a store with a clipboard literally writing down microsecond-level details of your time spent in the store, you wouldn't be OK with that just because "I promise I didn't write down your name!" There's no reason to suffer LESS privacy online.
- bhouston 12y agouBlock's philosophy is to, by default, block crash reporters (bugsnag, newrelic) and all forms of analytics (customer.io, optimizely, kissmetrics, mixpanel, newrelic, pingdom, piwik) because it can. This is a stupid policy that hurts independent website developers because now I have to write my own version of these tools because if I use third-party services they will be listed in uBlock and blocked by default. It is stupid but these are not used to run ad-networks, but rather improve the quality of the website you are on.
- _f71y 12y agoYou could always respect your users and continue using Google Analytics etc. knowing that some of your users won't be tracked. Does missing out on the few people who use these tools actually have a meaningful effect on your ability to run your business? I understand how the crash reporters help you but do you really need Optimizely/Analytics/MixPanel etc. running on 100% of your client browsers?
- bhouston 12y agouBlock is going to become very very popular. It isn't just going to be a small percentage of users. It is going to be the majority of tech savvy users. That is the problem. ublock isn't Ghostery or NoScript. It is being sold to most has an ad blocker, but really it blocks everything.
- MrTortoise 12y ago
- sergiotapia 12y agoFantastic, I decided to install this extension and give it a whirl and it works as expected with zero configuration. Loving it! I appreciate the fact that this is blocking everything about my usage to spying companies/individuals.
- bigbugbag 12y agoSo does "no google analytics"[1]. It seems I'll soon be able to replace several extension by µBlock which is a good news. I've long wished firefox would actually block ads and trackers by default, but it seems they'd rather make money instead. [1] : https://github.com/erikvold/no-ga https://github.com/erikvold/no-ga
- beedogs 12y agoI don't see any problem with this.
- edgarvaldes 12y agoSerious: Why are people surprised to find this? I know GA is not ads, but it's tracking. Not the same category, but the same idea.
- davidgerard 12y agoGood!
- kbart 12y agoThanks for finally convincing me giving uBlock a try. And for those crying web developers here -- if you respect your visitors, learn how to use server side analysing and profiling without a use of 3rd party tools by companies known to use privacy violations as a part of business model.
- irongeek 12y agoGood, this is awesome.