Live data from Hacker News

Show HN: I made a privacy-first minimalist Google Analytics

simpleanalytics.io

201–210 of 272 posts

Re: Show HN: I made a privacy-first minimalist Google Analytics

#202
post #173
post #151

Earlier quoted context omitted.

I'm curious what your concern with Google building this 'shadow profile' is if you're not worried about this data being leaked to a malicious actor - Is Google simply having this data a bad thing, and if so, why?

Is that really a question? Google creates global profiles of everyone for tracking and advertising. Having a random developer create a shadow profile isn't the same. The scale is vastly different and can be used to track you from site to site.

I know Google creates global profiles for tracking - and my question (which is the same as my original question) is why do you care? If that data is only used internally by google to serve you better ads why are you concerned with them having your data?

Re: Show HN: I made a privacy-first minimalist Google Analytics

#203
post #170

Earlier quoted context omitted.

Also known as the most common sizes used by everyone else for most other sites...

I wonder how those other sites figured out what window dimensions their users were most commonly using!

that doesn't matter now does it?

Re: Show HN: I made a privacy-first minimalist Google Analytics

#204
post #111

First: really slick site. I'm not so into the video which takes a while to get to the point, but the site makes it really easy to understand the point of your product (and that's something a lot of sites lack). I do have some questions/comments and I apologize if they seem a bit rapid-fire. * When I look at the "Top Pages", there are links. When I click the link, it brings me to that page on your site not a chart of…

Looks like it's public

https://simpleanalytics.io/simpleanalytics.io

Re: Show HN: I made a privacy-first minimalist Google Analytics

#205

For a project of mine I created an 'actions' table in my database. For every visit (only server-side data) I make an entry into that table. That way I keep track of key metrics that I am interested in (basically which page is loaded and where did the visit come from?). I also store the request id so that I can differentiate between different visits. Entries into this table are made in an new thread in order to preven…

Ahoy is a great tool to do just that, if you use Ruby on Rails: https://github.com/ankane/ahoy

Re: Show HN: I made a privacy-first minimalist Google Analytics

#206
post #153

Earlier quoted context omitted.

You as the developer have access to and are aware of all possible display dimensions and aspect ratios. It's not that hard to prioritize the sizes you want to support and then work based off that. There are plenty of tools out there that let you simulate different screen sizes for testing too. I don't see this information providing any extra value.

But you are assuming the users browse the website in full screen mode/maximised. Whilst true for most mobile devices, this is certainly not given on desktops.

No, I'm not assuming that, because regardless of how the user browses your site, you're still going to prioritize the sizes important to you.

It wouldn't make sense to prioritize optimizing site design for the few people who are using a non-standard size.

http://gs.statcounter.com/screen-resolution-stats

Re: Show HN: I made a privacy-first minimalist Google Analytics

#207

Earlier quoted context omitted.

I made an argument about this offering vs other offerings, not this offering vs rolling your own, which is a whole different issue. It's incredible how many developers undervalue their own time, effort, and liability. I believe you're mistaken if you think this'll only take two hours of your time. Even if that's true, I believe you're mistaken that your two hours of time is cheaper than $9/mo. I'm also certain that b…

> I made an argument about this offering vs other offerings No you didn't. You argued what it shouldn't be compared to, so I compared it to something else. > I'm also certain that being responsible for analytics sets you up for liabilities Outsourcing analytics opens me to the same or worse legal liabilities. > Even if that's true, I believe you're mistaken that your two hours of time is cheaper than $9/mo. I don't l…

You can choose to delegate the uncertain overheads to a company that relies (and specializes) on dealing with them. Or you can roll it yourself and add to your burden.

Code is not an asset, it's a liability. And I mean that from a pure responsibility standpoint, not just from a legal responsibility standpoint.

Re: Show HN: I made a privacy-first minimalist Google Analytics

#208
post #12

The idea is great, but price is way too high for a simple site. Many people are interested in anonymised data like pageviews and geographical distribution, for example, but these people pay 10€/year for domain and often 0 for hosting for static site generators. 12€/month is just really expensive at this level, but good luck and I’m sure for many people it’s totally fine price.

i actually think its way too cheap, i suspect 80% of revenue in the analytics space comes from customers paying more than $2k a month.

Re: Show HN: I made a privacy-first minimalist Google Analytics

#209
post #92

I think there are a lot of misconceptions about how Google Analytics tracking works. I'm pretty sure a vanilla GA setup does not, in fact, create profiles that track you across the web. For one thing, all the cookies it creates are first-party (on your domain). I still get objecting to Google products on principle, but their privacy policy for GA seems pretty reasonable to me: https://support.google.com/analytics/ans…

Agreed, the first-party cookie is pretty self-evidently not a web-wide tracker.

There are lots of config options. Here's what I like to use:

  // Google Analytics Code.
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};

  // https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference
  ga('create', 'UA-XXX-XX', 'auto', {
      // The default cookie expiration is 2 years. We don't want our cookies
      // around that long. We only want just long enough to see analytics on
      // repeat visits. Instead, limit to 31 days. Field is in seconds:
      // 31 * 24 * 60 * 60 = 2678400
      'cookieExpires': 2678400,
      // We don't need a cookie to track campaign information, so remove that.
      'storeGac': false,
      // Anonymize the ip address of the user.
      'anonymizeIp': true,
      // Always send all data over SSL. Unnecessary, since the site only loads on
      // SSL, but defense in depth.
      'forceSSL': true});
  // Now, record 1 pageview event.
  ga('send', 'pageview');

Re: Show HN: I made a privacy-first minimalist Google Analytics

#210

Earlier quoted context omitted.

> I made an argument about this offering vs other offerings No you didn't. You argued what it shouldn't be compared to, so I compared it to something else. > I'm also certain that being responsible for analytics sets you up for liabilities Outsourcing analytics opens me to the same or worse legal liabilities. > Even if that's true, I believe you're mistaken that your two hours of time is cheaper than $9/mo. I don't l…

You can choose to delegate the uncertain overheads to a company that relies (and specializes) on dealing with them. Or you can roll it yourself and add to your burden. Code is not an asset, it's a liability. And I mean that from a pure responsibility standpoint, not just from a legal responsibility standpoint.

Sure, code is a liability. Having a dependence on on something outside your control is a liability. Those two have to be weighed against each other. I'm not against buying services on principle, I puy services from plenty of SaaS providers. I'm simply arguing that in this case the scales tip in the wrong direction for me, and likely a lot of other people like me.
Post reply on HN