This example shows how to use different form names (i. e. page names) for each form on the same page.

Form 1 has a setURL function applied with countername form-new-version-form1.page. This will be used in the form measurement. The same applies to Form 2 with countername form-new-version-form2.page.

The normal measurement code has a different countername altogether: form-new-version-multiple-forms.page.

Form 1

Enter something in the box:

go away

Form 2

Enter something in the box:

go away