I inherited a Sitecore solution that has a sublayout that contains a complex ASP.NET ascx form which handles both payments and integration with 3rd party web services.
This sublayout uses parameters templates to provide some level of control on the way the form looks like.
The .ascx control contains multiple views:
- In the first view the user fills the form and click NEXT.
- In the second view the user can review the entered data before clicking the SUBMIT button.
- The third view is the thank you page of the form.
If I want to create a goal for the submission of this form, am I supposed to set the goal as "achieved" via API on submission of the form itself? Should I add, maybe, the name of the goal as one of the parameter templates so that the marketing editors will be able to change it, if needed?
Thanks