Cloud db probolem (using LocationService extension in the background)

You can save data eg in google sheets.

Or invent Google script that will write data to the database. (I do not know if posible it with cloud db)