We have a similar ramp, the ramp folds which helps. Problem we had was that the ramp was slippery so we glued some carpet on.
That helped but one false step with a fall off the side and our dog freaked, never went near it again.
Ramp sits in the garage and the dog sits home.