I recently removed google analytics from my blog. I did not want to add a cockie banner to my website. so I not use some local storrage. and do a separate http call, to post time, hourOfDay(local to the user), referrer, last page view time, and some more fields into a csv file. I will see, maybe I analyse some information via excel or so.
I’ve done something similar and will phase Google Analytics over the Christmas break. I’m not interested in much of what they collect and the things I am interested in I can work out for myself... with a bit of effort.
Without thinking about it I’m actually writing a csv file too, just that it has a .txt extension! 😆
I found with PHP it was really easy and fast to parse and I recently implemented a very basic chart so I can visualise views over time. And I leave the PHP script to log the date and time.
I recently removed google analytics from my blog. I did not want to add a cockie banner to my website. so I not use some
local storrage
. and do a separate http call, to post time, hourOfDay(local to the user), referrer, last page view time, and some more fields into a csv file. I will see, maybe I analyse some information via excel or so.I also like to look at the google search console.
I’ve done something similar and will phase Google Analytics over the Christmas break. I’m not interested in much of what they collect and the things I am interested in I can work out for myself... with a bit of effort.
Without thinking about it I’m actually writing a csv file too, just that it has a .txt extension! 😆
I found with PHP it was really easy and fast to parse and I recently implemented a very basic chart so I can visualise views over time. And I leave the PHP script to log the date and time.
Hi, is very interesting, do you have a tutorial or link to do it? I know some coding but nothing too advanced. Thanks
I was already working on an article, here it is: dev.to/bias/how-i-removed-google-a...