Unfortunately I haven't found a way of detecting activities, but I started recording all my locations with GPSLogger[1] to GPX and store them on my server. So now I need to either find or create a way of navigating/searching/visualizing/analyzing all my history. I haven't found how to do that yet but at least I have the raw data to do it.
[1] https://gpslogger.app/