News for hackers. Stuff that matters.
Re:We ditched Google Analytics by buro9 on Tuesday December 08, 2015 @10:53AM (#10697065)
Why not move to push GA data server-side?

Trivial to set-up, immune to adblockers affecting the completeness of data, prevents the write of tracking cookies, leaves data and utility of the GA dashboard mostly complete (loss of user client capabilities and some session-based metrics).

This is the route I'm preferring to take (being applied this Christmas via https://pypi.python.org/pypi/pyga ).

One may argue that Google will still be aware of page views, but the argument presented in the article is constructed around the use of the tracking cookie and that would no longer apply.

I'm shifting to server-push to restore completeness, I'm presently estimating that client-side GA represents barely 25% of my page views (according to a quick analysis of server logs for a 24hr period). I'm looking to get the insight of how my site is used rather than capabilities of the client, so this works for what I want.

Re:We ditched Google Analytics by ytechie on Tuesday December 08, 2015 @11:14AM (#10697241)
I agree. Server-side analytics were actually fairly mature before Google came alone. It's just more complicated in some cases, but manageable. The biggest downside these days would be SPA apps since they are not necessarily touching the server in any regular way.
Re:We ditched Google Analytics by JupiterMoon on Tuesday December 08, 2015 @10:56AM (#10697099)
People don't care about the cookie or any of the details of the implementation. They care about being tracked across the whole internet. If you are still contributing to that then you are disrespecting your customers. I hope that I am not one of them.
Re:We ditched Google Analytics by ufmace on Tuesday December 08, 2015 @12:57PM (#10698068)
Except that basically nobody cares about "being tracked across the whole internet", as shown by GA, Facebook, etc being on virtually every popular website and nobody noticing or caring at all. If you care enough to make even the most trivial change in behavior, then you're optimistically 1 in 1000.
Re:We ditched Google Analytics by JupiterMoon on Wednesday December 09, 2015 @04:48AM (#10702784)
I said that I care and that I hope that I am not a customer of businesses that track me and contribute to google's tracking. In that case I am 1 in 1000 and if a site doesn't work without GA and I don't have to use it (as in to file my taxes have to) then I won't I will purchase from a competitor.

EDIT Most people do notice and do care this has come up in countless conversations. They just accept it as a necessary evil that they can't do anything about and accept (wrongly) that they as a individual can't change the world.

Re:We ditched Google Analytics by buro9 on Tuesday December 08, 2015 @11:01AM (#10697137)
Did you read my comment?

You will have no GA cookie from any of my sites, I am not recording client identifying things or capabilities. It is a server-side push of GA and avoids all client-side interactions.

It is merely, "A page has been viewed, this one: /foo/bar?bash".

There's nothing in there that is tracking you. I'm not even embracing the session management aspect.

I get to use the tool that is best-in-class, in a way that lacks capability to track you.

Re:We ditched Google Analytics by huhtenberg on Tuesday December 08, 2015 @11:14AM (#10697240)
Without any "client identifying things" how would GA be able to chain several page hits into a session then? That is, do basic visits vs. hits split.

If you are in fact anonymizing everything about a client as you claim you do, then it won't be able to. Unless, of course, you are feeding GA some opaque client ID that you then internally map to and from actual clients that hit your server. However something tells me that you aren't doing that, or you would've mentioned it already.

(edit) I re-read your comment. You aren't apparently interested in session counts. But what's good the GA summary then if you can't tell 10 bounced visitors from one visitor with 10 hits? This makes no sense. If you want to look at just page hit numbers, there are dramatically simpler ways to do that.

Re:We ditched Google Analytics by buro9 on Tuesday December 08, 2015 @11:20AM (#10697288)
In the test I've done, sending no session/user data over, I lose all sense of a "session".

But I do retain insight into what content has been viewed, how much, what is rising and falling, etc.

The question really is what info are you really reporting on? AdBlockers make us blind and tracking is horrible, but I get to have a far more complete view over the simple stuff Urchin used to be great at.

Re:We ditched Google Analytics by JupiterMoon on Wednesday December 09, 2015 @06:13AM (#10703032)
Why not use your server logs for this information?
Re:We ditched Google Analytics by huhtenberg on Tuesday December 08, 2015 @11:36AM (#10697429)
Ah, so you are passing some client IDs over the GA after all. An IP address perhaps? You know that's a leading question, right?

Incidentally, I ran similar experiment with gaug.es few years ago - pulled on their tracking API from our server side. While it worked as expected, these sort of shenanigans are good for only one thing - hiding the fact that you are using 3rd party analytics from your visitors.

On a more general note - the thing is that you either care about other people's privacy or you don't. It's not a grayscale, it's binary. And if you do, there's no place for GA in the picture.

Re:We ditched Google Analytics by buro9 on Tuesday December 08, 2015 @11:49AM (#10697536)
No.

I am not passing IP. I am not passing a client-id. I am not passing any kind of correlation identifier from which a session can be inferred or created. I am not passing user-agent information. I am not passing a cookie ID.

I am only passing a page view event. "Page /foo/bar?bash has been viewed".

Take a look here: https://code.google.com/p/serversidegoogleanalytics/

Tell me where in that example (mine is similar) you see any client identifying information.

There is none. If GA deduces anything, it will be a property of my origin server and not a client.

I do not agree that using GA in the way I have described allows Google to invade privacy at all. Please explain clearly how it does in your opinion.

Re:We ditched Google Analytics by ccozan on Tuesday December 08, 2015 @12:48PM (#10697999)
But isn't the same kind of data you could extract from Apache logs? Since from what you describe is basically a log of all your requests.

GA has many utilities, mainly is to follow the user and see the funnel they go and second to monitor the marketing campaigns. If you don't need this, then Apache log + webalyzer is perfect for everyone.

Re:We ditched Google Analytics by buro9 on Tuesday December 08, 2015 @01:01PM (#10698099)
I persist with GA, because every now and then I work with partners who would like to verify the activity on my websites (and yes my user agreements and privacy policy allow this) and have a means to compare this with historical data or data from other sites.

Those partners frustrate me, in that they won't trust me to provide stats generated from server logs, but they all default trust GA.

This technique allows me to use GA, produce the view of the content they need, export the PDF, and share that... and they trust it.

GA is the de facto store of trusted data when it comes to web site activity. For my sites that is tracking content page views.

Re:We ditched Google Analytics by huhtenberg on Tuesday December 08, 2015 @12:50PM (#10698015)
I don't understand why you bother with GA then.
Re:We ditched Google Analytics by buro9 on Tuesday December 08, 2015 @12:58PM (#10698072)
That's OK. It wasn't a requirement of my system.
Re:We ditched Google Analytics by huhtenberg on Tuesday December 08, 2015 @02:08PM (#10698579)
Spectacular joke.

This whole conversation started with you saying why abandon GA when you can use it without compromising clients' privacy. An exchange that followed shows that one can't actually derive not just the same function from GA that way, but virtually any function at all. Yes, you can feed data in, but the usefulness of what you can get back out is next to zero. What am I missing?

From your opening comment:

> Why not move to push GA data server-side?

Because it renders GA largely useless if clients' privacy is actually observed.

Re:We ditched Google Analytics by pdkl95 on Tuesday December 08, 2015 @12:15PM (#10697756)
> I am only passing a page view event. "Page /foo/bar?bash has been viewed".

I would like to say, as someone extremely hostile to tracking of any kind, that if this is all you're sending to google, that sound perfectly fine from a privacy perspective. (Google gets your information, but that's between you and Google)

Thank you for choosing a method that respects the privacy of your readers.

Re:We ditched Google Analytics by buro9 on Tuesday December 08, 2015 @12:24PM (#10697830)
> (edit) I re-read your comment. You aren't apparently interested in session counts. But what's good the GA summary then if you can't tell 10 bounced visitors from one visitor with 10 hits? This makes no sense. If you want to look at just page hit numbers, there are dramatically simpler ways to do that.

I do not care to track users/sessions, page views are enough for me. I am tracking content and content views... and I get this big tool that is awesome at slicing data and presenting trend information... for free.

Re:We ditched Google Analytics by humanfromearth on Tuesday December 08, 2015 @11:22AM (#10697309)
The only issue I can see with this is a lot of HTTPS connections with your analytics platform from your web service. If you choose to use a work queue/proxy to do it, it's additional work/point of failure, etc.. It's not as 'simple' as adding a JS at the bottom of your page.
Re:We ditched Google Analytics by JupiterMoon on Wednesday December 09, 2015 @04:52AM (#10702795)
What info does Google get on your customers in exchange for your free use of their service?
Re:We ditched Google Analytics by buro9 on Wednesday December 09, 2015 @05:55AM (#10702972)
You've emphasised that word as if it changes the question somehow, but I don't see how it changes the answer.
Re:We ditched Google Analytics by JupiterMoon on Wednesday December 09, 2015 @06:16AM (#10703041)
Because by using your website I become your customer I am doing business with you. I don't always want a third party involved.

You never answered what info do you send to the owner of the tracking library that you licence? Or if you send them no info how do they get paid?