So, it takes me more effort than I thought to keep this blog updated. Anyway, for this week I have some updates for the tilde amalytics!
Updated session tracking
In order to count unique pageviews the pixel stored the SHA1 hash of the request IP address. This is not really secure since a) I am sure rainbow tables for IPv4-SHA1 exist and b) the ip doesn’t change, so you can track an user between session.
I changed this to something new: a session cookie!
Now before you start worrying about me tracking users between websites, I can tell tou that the session cookie does not have a max age set, so it will expire after the browser is closed. Also it doesn’t reveal the request’s ip address so this is the better option!
New dashboard for viewing analytics
The current analytics “dashboard” is everything but user friendly. In order to help the maybe one person that is using this I crafted this mess of javascript code:
How to use this:
- Open the left menu
- Create a new site
- Add pages to the site with the floating
+
button - ???
- Profit!
Here is a screenshot:
Anyway, that’s all I have for this week. Maybe I’ll have some time this week to start programming some sort of comments system.
Check me out on the fediverse: [@steph@mas.to](https://mas.to/@steph)
Comments:
Add a comment by mailing to steph@tilde.club and putting [ceb1b]
in the subject