It's an old question, but it may help others. The side FURTHEST from the spring goes on the door. The side CLOSEST to the spring goes on the door jamb.
I found this helpful video on YouTube: https://www.youtube.com/watch?time_continue=2&v=BTf6gedJrJc&feature=emb_logo
23 inches, not counting the mounting brackets.