by marcus_holmes · 7y ago · 0 comments
I'm running into serious flak from the marketing team because they don't know how to use any other tool. GA is the industry standard, apparently, and every site uses it, etc etc. They're even hinting that not using it could affect our SEO (I haven't seen any evidence for that, but if so it just reinforces my desire to not give Evil Google our traffic).
Even a couple of years ago, this wouldn't have been a problem. I trusted them to do the right thing. Now. No.
Google is the new M$
It's FLOSS, comes both self-hosted and as a paid service and it's pretty good. Perhaps good enough for your use case?
1. Do you grab the country from the IP address before anonymising it? (I know VPN's are a thing, but we would like to know where our customers are coming from)
2. Why encrypt with a daily key instead of just hashing the IP address and storing the hash? Do you ever decrypt the IP address?
3. How have you found CloudWatch? I'm logging all requests to our own database, because it's so simple to do. What's the bonus for Cloudwatch?
Now, everyone takes tracking for granted as if the option of not being tracked is some sort of unachievable goal.
That's the issue. It isn't tracking A as opposed to tracking B. It's tracking period.
To folks saying to “Just use server logs”, it’s simply too hard to connect the dots unless you really know what you’re doing. Digging through my nginx logs to find that the majority of my users are dropping off at the second step of sending an invoice would be nearly impossible. Oh I could connect those logs to my api’s database, now I need a place to aggregate that data together. Maybe I could send all of that data together to elasticsearch and query with kibana. Now I need to learn how To set those things up.
Or I could use Matomo for some analytics real quick
GUI is nice, currently trying it out but not with php code but with embeded js like other tools use.
No it's not, just stop overarchitecting your stuff.
> Digging through my nginx logs to find that the majority of my users are dropping off at the second step of sending an invoice would be nearly impossible. Oh I could connect those logs to my api’s database, now I need a place to aggregate that data together. Maybe I could send all of that data together to elasticsearch and query with kibana. Now I need to learn how To set those things up.
You can log requests/responses however you want on your server, it doesn't have to be an nginx log. Just put whatever request data that matters to you into your database immediately after you send a response.
> Or I could use Matomo for some analytics real quick
"Not being a jerk to my website visitors is too hard."
Unfortunately I have a hunch aswell that not adding GA does indeed negatively affects SEO.
How would it be possible to prove/disprove this?
You could try to remove GA from half the pages on an existing site one day and see if those subsequently drop more, if you have enough pages to experiment with.
I also found another case of a lot of un-googleable reddit pages from only 5 years ago. They just don't exist on Google anymore even though they are linked from e.g. peoples profiles who commented there. Someone decided that Reddit is not important, or maybe there's some broader exclusion criteria in place.
[1] https://www.tbray.org/ongoing/When/201x/2018/01/15/Google-is...