itch.io will allow you to add this kind of functionality, but it’s up to you to do it correctly. It’s likely you don’t understand the security & environment requirements to communicate with a database hosted elsewhere. I recommend checking your browser console for errors, and reviewing any guides or tutorials about the database you’re using to ensure that you understand how to establish a connection from an arbitrary domain where your game may be hosted.
Hope that helps