Maybe you could try Moves (https://www.moves-app.com) to help with that?
I use it to log when I arrive and leave my office and it could easily handle multiple clients/locations.
That looks good, thanks for the info. I remember trying a bunch of geofences with ifttt to try and do something similar. It was a little hit and miss. Recently I switched to windows phone and that limits my app selection in a major way for stuff like this running in the background. Part of why I was OK with the switch was that my main use of ifttt doesn't need an app. I think I'll be back to an iPhone next year and moves might be the way to go.
I can vouch for Moves, used it a lot before Facebook bought it. Similar to Google's location history.