The chart-topping smash had one of the strangest paths ever before becoming a Billboard record breaker.