We just stuck it on the outside, raised up off the metal of the refrigerator about 3/4 of an inch with wood block to prevent the refrigerator metal from getting magnetized. Ours is all the way down at the bottom because that seem to be where it was least likely to get knocked off.
That refrigerator is in a room that’s not wheelchair accessible, so I can’t get a picture of it for you, but it’s just really simple. The only issue was moving it away from the metal of the refrigerator. Same issue you have with a metal gate.