Read the situation: A replacement pull looks the same length as the old one. At home, one screw lines up but the second hole does not. The receipt says unused hardware can be exchanged.
Your question: What should you measure before choosing another pull?
Think first: The screws attach at two points inside the ends.
Answer and explanation: Measure from the center of one existing screw hole to the center of the other. Take that spacing and the unused pull to the store to compare with a replacement.
Use it again: Match the attachment points as well as the visible size.