Google Timeline shutdown, data preservation
Google Timeline is one of my favorite lesser-known products, a detailed place by place diary of everywhere I’ve been with my phone for the last eight years. Unfortunately they are shutting down the web product and replacing it with a mobile-only product. The deadline is December 8, in five days. I’ve been putting off figuring it out until now. These docs were helpful as was this article and this one.
Update: after some evaluation, the new mobile product is fairly nice. It’s a comprehensive thing inside Maps, it’s not an afterthought. It does have reasonable data export. When I first wrote this post I was cranky at the change and my view has softened some since.
Migrating to new Timeline mobile
The first thing I did was use Google Takeout to download all my old timeline data from the web application. A timeline-only archive was fast, just a few minutes, and a 50MB download. It contains a lot of data but what I wanted most was the single JSON file with my GPS history in it. (The rest of it are the semantically analyzed files: very useful but not as cool).
The other thing I did was to migrate to Google Timeline on my phone. That’s the only option now, and it’s not as good as the old web application. But it’s what they have.
The migration was relatively simple. Once I disabled my Private DNS ad blocker, that is, with it enabled the app would not get past one stage of the signup process. No error, just a refresh.
To set up mobile Timeline you have to launch Google Maps on your primary phone, find your way to the Timeline part of the app, and run through a setup wizard. It asks some questions about your preferences. Then it says it will download all your data and it’s done. (This is the part that Private DNS was breaking.) Afterwards it gives a summary of the options you picked, here’s mine:

I’m unclear on whether it really copied all my data over. It said it’d only download a couple MB, not the 50MB+ compressed the takeout had in it. I do see old trips of mine over the years so some data copied over. My guess is it only kept the semantic tracks, not the detailed point by point logs.
The new Timeline mobile product looks pretty nice in general. It’s got an easily browsable list of old trips, just like the webapp had. Too bad it’s confined to my tiny phone.
Once I finished the migration the web application no longer works for me.
Exporting data
I cannot find any data export option in the new mobile Timeline product. I’ve asked a question on the help forums. I fear Google may have removed this feature. If so, I am very unhappy about that.
To export your mobile Timeline data, in Android Settings (not Maps) go to Settings > Location > Location Services > Timeline > Export timeline data. This option was not available for me at first after setting up mobile Timeline, I had to reboot my phone and then it appeared.
The export is a single file named Timeline.json. Mine is about 15MB (compare 800MB for the Google Takeout). The data does seem complete, it goes back 8+ years just like my old web Timeline data did. It’s a different format though. The meat of it is in a section called semanticSegments, see some examples here. It looks to be a hybrid of analyzed data with place IDs etc and then some raw GPS coordinates. I think it’s not as fine grained as the old web Timeline export but am not sure.
There is also a backup system for timeline data that operates separately from the rest of Android backups. You have to enable it separately within the Maps app under Timeline. But I think those backups can only be used to restore a phone, there’s no way to get at the data in them.
Thoughts on location tracking
I love location tracking. I have a continuous record of where I’ve been for some 12 years. I built a whole location tracking product. It’s so powerful having an automatic diary and travelogue! And Google Timeline’s semantic analysis is great, they do an excellent job turning a random string of lat/lon pairs into a story like “you went to Venice, went to this museum, spent two hours at this restaurant”. I love being able to review my history like that.
Google didn’t build this timeline product out of the kindness of their own heart. They did it to justify their advertising surveillance of users. Because as nice as it is for me to remember where I went shopping three years ago in Dublin, it’s way more valuable to Google to know that for many of their users. The bargain was they’d also make that data available to us, the users, as a form of transparency and quid pro quo. It felt reasonable to me.
Now the bargain has enshittified. Google is still doing just as much surveillance as always, moreso now that ad networks have sprawled and grown. There’s probably 20 location vendors who know where I am most of the time thanks to trackers in Chrome, the Android ecosystem, and its various apps. It’s not great but we’ve been living this way a few years now with some abuses but also some advantages. But now Google has weakened one of the best of those advantages, the Timeline web application. Update: not entirely fair, the new mobile app does seem like a serious product.
Comments
The data export feature is a bit hidden. Go to settings, location, location services, timeline, and from there you have the option to export.
I'm looking for good ways to visualize the data now. GPXsee isn't bad, but it's a big loss not having it integrated with Google Maps. As well as being able to get data on locations from GMaps, it could tell you if you were on public transport or walking or whatever. The breakdown wasn't detailed enough but what was there was very useful.
I've been experimenting with gpslogger (F-Droid, open source) as well. It seems light on the battery and you can have it log location data from other apps, which basically makes it at least as good as Google's own location history as any time that would have logged, gpslogger logs, plus its own periodic location data requests on top.
Unfortunately the developed decided to remove support for Activities or whatever it's called, the API that tells the app if you are walking, in a car, on a train etc. One of the requirements to be on F-Droid is to not use any Google specific APIs. It would be nice if it could increase the logging rate when it detects fast movement too.
Thank you for your reply! Addressing the export first, you're not the first person to say there's an export option. There isn't one in mine! See the updated blog post for a screenshot.
To your other comments, we have similar interests in visualizing this data. That's why I built https://wanderin.gs/ It has a heatmap view and supports importing a Google Timeline takeout JSON file.
I like Mendhak's GPSLogger for tracking as well. It does a lot of subtle things right. I've been running it for several years along with Google Maps tracking. Wanderings supports importing its files too although it's kinda awkward, I never finished a tool to make it easy to import lots of data from it.
It looks like it's rolling out, it took a few days to appear for me as well. It's a bad way to do it, because like you I initially worried about it.
Thanks, I'll take a look at that. Really need something that lets me review my trips.
I'd like to have a map with tracks, type of transport, and the photos I took all together. Nothing like that seems to exist though.
Thank you for this! I rebooted and now the option is there. Will update blog post soon.
I got an export from mobile Timeline and it's a new format, Wanderings won't work with it. I think it contains all the data you want but you'd need to write a new visualizer. Or use the one in the mobile app.
Thanks. Darktable does have some mapping functionality, and I think so do some of the open source photo gallery web apps, but none that combine everything. Actually Google Photos has a map mode on mobile, but the web version doesn't, and you know Google... And even the app version doesn't include location history.
Unfortunately I'm an embedded developer, I don't really know where to start with that kind of thing. I sort of assume it must be hard because otherwise it would exist.
About data formats, I see that Wanderin.gs supports GeoJSON. I log to GPX and CSV at the moment. Is there any benefit to adding GeoJSON? I suppose the storage space and battery cost is trivial, but I'm just wondering if there is any benefit over the other two.
If you want to build a mobile app with a visualization, look at Mapbox. We use their heatmap for Wanderings. The Javascript webapp version but it's pretty similar. It's not free though, not sure what the state is of free mobile map software is.
I wouldn't bother with GeoJSON. It's very easy to convert GPX to GeoJSON with a standard tool and a CSV to GeoJSON conversion is like 10 lines of code.
I looked at GPSLogger a few years ago and concluded their CSV output was the most complete.
Thanks, valuable information.