Help tracking a button click

Hello,
I’m new to Matomo, I have simple one-page website, I have several buttons in the page, upon clicking them user goes to respective section of the same page. In Matomo dashboard I only get statistics of user visiting the homepage but not button click stats.
I looked at the Matomo docs but I don’t know how to implement it. Please help

If you give me the URL to your site, I’ll craft you a simple JS snippet to track the button clicks. You can send the URL via PM.