When there are multiple forms on the page, you will want to utilize our JS API rather than our JS Snippet.
The script below calls our database and you'll want to place it on the HTML body of the landing page itself:
Then for each form, you'll want to use the script below:
By using the formId within the code, rather than just being triggered off a submission action, we will be triggered from the submission of that form specifically.
* You can find your domain name as well as your router name under "Embed for your form" in-app within your router.