In HubSpot, the hashtag in a menu link (e.g., contact) matches the section’s Anchor ID.
Edit your page, select the section, and in Settings or Advanced, add a unique Anchor/CSS ID (like about or services).
Then, in your navigation menu, set the link to #thatid so it scrolls to the right section.