News for hackers. Stuff that matters.
Re:The Google Analytics Setup I Use on Every Site I Build by Sir_Cmpwn on Monday February 13, 2017 @03:25PM (#13638431)
Please don't contribute to Google's tracking dominance over the web. How insane is it that one company runs their javascript on 90% of the web?
Re:The Google Analytics Setup I Use on Every Site I Build by chishaku on Monday February 13, 2017 @04:02PM (#13638730)
What are the best alternatives?
Re:The Google Analytics Setup I Use on Every Site I Build by robbiemitchell on Monday February 13, 2017 @07:08PM (#13640085)
Heap Analytics -- https://heapanalytics.com

And I run everything through Segment rather than embedding individual trackers directly. Segment either relays data to other services or loads required JS on page load.

Re:The Google Analytics Setup I Use on Every Site I Build by buremba on Monday February 13, 2017 @04:39PM (#13639022)
The long term solution is usually building an in-house analytics service but it's not easy and cheap. We're also developing a generic analytics platform that can be installed with one-click to your favorite cloud provider so that you can store your event data in your database and build an internal analytics service without coding. Check out: https://github.com/rakam-io/rakam
Re:The Google Analytics Setup I Use on Every Site I Build by oldsj on Monday February 13, 2017 @04:12PM (#13638817)
https://piwik.org isn't bad, but last time I checked it was blocked in ublock origin just like GA
Re:The Google Analytics Setup I Use on Every Site I Build by joshyi on Monday February 13, 2017 @10:52PM (#13641007)
https://goaccess.io — simply awesome
Re:The Google Analytics Setup I Use on Every Site I Build by isoos on Monday February 13, 2017 @07:11PM (#13640098)
It is actually easy to implement GA-like functionality in JS, send the event data to the server, and process it e.g. daily. You can start slowly, e.g. track only clicks (make it sync), visit time and scroll (both async).

Of course my homegrown analytics reporting is far from Google's, but at least I have found a great balance between getting useful usage data on my sites, and at the same time respecting the visitors' privacy.

Re:The Google Analytics Setup I Use on Every Site I Build by Elof on Monday February 13, 2017 @06:55PM (#13640025)
Keen IO is a great alternative. Full disclosure, I'm a product manager at Keen. That said, we do help some of our customers move off of GA to gain more control and flexibility in their analytics
Re:The Google Analytics Setup I Use on Every Site I Build by thejosh on Monday February 13, 2017 @07:44PM (#13640274)
I last tried keen a few years ago, and really liked it.

The one thing I didn't like, and stopped using it was the pricing , which looks like has now been updated to be more realistic.

Definitely checking it out again now.

Re:The Google Analytics Setup I Use on Every Site I Build by Elof on Monday February 13, 2017 @10:37PM (#13640956)
Thanks for the comment Josh. We just completely revamped our pricing. I'd love to get your feedback on what we've done, especially given your previous experience
Re:The Google Analytics Setup I Use on Every Site I Build by p0ppe on Monday February 13, 2017 @04:13PM (#13638827)
https://piwik.org seems to be the go-to open source solution.
Re:The Google Analytics Setup I Use on Every Site I Build by Sir_Cmpwn on Monday February 13, 2017 @04:19PM (#13638873)
piwik or just grep your nginx logs.
Re:The Google Analytics Setup I Use on Every Site I Build by rhizome on Monday February 13, 2017 @05:52PM (#13639584)
Grep? Is that something I need a sysadmin for? /s
Re:The Google Analytics Setup I Use on Every Site I Build by IanCal on Tuesday February 14, 2017 @12:42AM (#13641453)
Quick plug for a log analyser: https://goaccess.io which I installed after realising it did all the things I actually wanted from GA (I don't actually need detailed user tracking)
Re:The Google Analytics Setup I Use on Every Site I Build by ddebernardy on Monday February 13, 2017 @06:37PM (#13639917)
Grep is unfortunately close to useless. It gives little to no insights on how long/deep a user stayed on a page, or where they went after that. Or what form fields are getting in the way of users from completing whatever you'd like them to do.
Re:The Google Analytics Setup I Use on Every Site I Build by travem on Monday February 13, 2017 @06:36PM (#13639908)
For commercial sites a solution like Adobe marketing cloud (nee Omniture) is an option
Re:The Google Analytics Setup I Use on Every Site I Build by Redsquare on Monday February 13, 2017 @06:50PM (#13639996)
Snowplow
Re:The Google Analytics Setup I Use on Every Site I Build by jedberg on Monday February 13, 2017 @08:31PM (#13640485)
It's a tough call, especially if your revenue model is ad based. They ad networks only trust 3rd party analytics.