I'm following the documentation from this link but I can't get the JS to work. I'm creating the function formv3() and calling it on submit with my site and form ID's but nothing happens. Looks like there is no need of authentication so I'm not sure if I'm missing any step, I didn't use my API key anywhere.
The form on HS and the data I'm trying to POST there as an example:
I know we aren't retrieveing the form data yet, we are just trying to make the submit send static data first. I removed our ID's aswell just to share it.