Props
Route Params
Component Attributes
data-cc-component="registrationForm"
– Identifies and initializes the component.Custom 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
}
}
lead_submission
) via the tracking system."email"
(required)"name"
data-cc-component="registrationForm"
data-cc-component
→ registrationForm
name
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.