I am a newbie unfamiliar with a lot of code, so I am not sure why it does not register any visits when I have had people on my site. I can add the system report if that will help.
How do you track?
Can you check the visitors log if there is something?
Can you also check the Matomo error log file?