Props
Type – Identifies the type of formContent ID – Identifies the id of the content.Redirect URL - Gives the URL where the form will redirect to.Route Params
Component Attributes
data-cc-component="registrationForm" - Initializes the component.data-cc-component-type="type" - Identifies the type of form (used in the lead_submission tracking call)data-cc-component-content-id="id" - identifies the content id of the form (used in the lead_submission tracking call)data-cc-component-redirect-url="https://goherenow.com - Give the url to redirect the user to after submitting the formCustom Behavior
submit listener to a form within the component.Gathers form values:name (optional)email (required – must be present or it will error)clientSideId for tracking.[brandApiDomain]/api/registration/{
brandId,
name,
email,
tracking: {
clientSideId,
transactionUrl,
userAgent,
cookies
}
}"email" (required)"name"data-cc-component="registrationForm"data-cc-component → registrationFormname attribute set to "email".name field with the name attribute set to "name".You can design the form using standard Webflow inputs and buttons. The component does not change the appearance or layout. Make sure:
name attributes set to "name" and "email" respectively.