Webinar Start Time
This component automatically displays the start time of a webinar, based on the webinar registration ID in the page URL. It pulls the date from our backend and formats it for the visitor's local timezone.
Props
Route Params
- webinarRegistrationId: The unique identifier for the webinar registration. Must be present in the page URL as a query parameter.
Component Attributes
data-cc-component="webinarStartTime"
– Initializes this component automatically on page load.
Custom Behabior
- Fetches webinar start time based on the
webinarRegistrationId
. - Converts the start time to the visitor’s local timezone.
- Replaces the inner text of the component element with a formatted string (e.g.,
"Wednesday April 2 3:30 PM"
). - Uses the
brandApiDomain
from the global config to retrieve webinar data.
Example
The webinar start time will appear here.
Styling notes
You can apply any classes to the text block to control appearance (e.g., font size, color, spacing).
The component will replace the text inside the element with the formatted start time when the page loads.
Example output:
Wednesday April 2 3:30 PM