The string is in case there isn’t a peg on the neck side of the guitar. If your guitar has that peg, use the hole in the strap.
The strings before the first strap mounted this way most electric guitars have pegs on the guitar may only have pegs on each end of your guitar mine does too yet have pegs on each end of end of.