Map-matching detect offroad activity

I’ve been using the map matching system but it doesn’t correctly classify offroad activity. Is there an easy way to do this that I am missing?

My goal is to have offroad travel labelled as such and for the on road travel to be snapped.

Is this just outside of what the map matching API is meant to do? Am I barking up the wrong tree?