Widgets
Common parameters (booking widget & event-list widget)
Snippet attribute | Attribute example | URL parameter | URL parameter example |
---|---|---|---|
data-viovendi-locale | Locale used for the booking process (translations, dates, numbers, currency…) |
|
|
data-viovendi-organizer | doo Organization ID |
| |
data-viovendi-widget-config-name | doo Widget Config Name |
| |
| JSON stringify + encodeURIComponent
| ||
| |||
for single-use codes: for multi-use codes: |
|
| |
| Widget bootstrap mode, for starting with booking-edit login screen: for autologin into self service booking edit (used together with |
| For autologin into booking self service edit: https://event_url.com?doo_mode=booking-details&doo_booking=TX-00000-000&doo_email=email@example.com Even though prefilling the email address is supported, we do not recommend to use this and better have the booker enter his data manually. Basically anybody with the link can see personal identifiable information. Since the link is cached, it is easily retrievable for abuse. If you use the email as URL parameter, we recommend to use URL encoding, i.e. replacing the “@” sign with “%40”. Otherwise some browsers might have problems when loading the widget. For entering booking-edit login page: https://event_url.com?doo_mode=booker-login Additional parameters |
| Booking invoice number |
|
|
| Booker email (used with |
|
|
holds path keys to resolve provided payment options, the parameter can include one or several path keys single: multiple:
|
|
| |
Tickets prefill |
| JSON stringify + encodeURIComponent
→ | |
Autosubmit ticket-selection step |
|
| |
Autosubmit information step |
|
| |
Payment option prefill |
|
| |
Auto-accept terms & conditions |
|
| |
Autosubmit information step |
|
| |
Configure logging of the user journey, resources requests, HTTP requests with AWS RUM
Defines if cookies are allowed for tracking user journey (requests, pages through sessions). Options: true, false Default: false
Defines if all http requests are recorded or only failed Type: string Options: “all”, “failed” Default: “failed”
Defines if requests for resources (images, documents…) are tracked. Type: boolean Options: true, false Default: true Performance metrics and JS errors are logged by default if logging enabled and their options are not configurable from our side at the moment |
|
| |
Hide the access code field or directly show the access code entry field |
| ||
Hide the promotion code field or directly show the promotion code entry field Options: hidden, active |
|
Booking Widgets
Booking-widget specific parameters
Snippet attribute | Attribute example | URL parameter | URL parameter example |
---|---|---|---|
|
| Event id |
|
Booking Widgets without event description
Booking Widgets with event description
List Widgets
HTML attributes of the widget snippet and URL parameters of the page which hosts the widget
Snippet attribute | Attribute example | URL parameter | URL parameter example |
---|---|---|---|
Filter events | Filter events by |
| |
| Add dropdown with options to filter events by attributes of checkboxes type |
| JSON stringify + encodeURIComponent
|
| someAttrName,canBeOtherName
|
|
|
| Open the list-widget in the mode of the booking widget for the particular event. |
|
|
Short List Widget
Long List Widget
Details about prefilling booker and attendee data
Note that the white spaces are not allowed to be used in the prefilling values. Replace all the white spaces symbols with symbol.
Value |
---|
|
Prefill complex data structure through URL parameter
To prefill object- or array-shape values through URL parameters JSON.stringify and encodeURIComponent methods should be used
Booking widget with form
Snippet attribute | Attribute example | URL parameter | URL parameter example |
---|---|---|---|
| doo form id |
|
|
| Form answers prefill JSON representation of the array containing answers. The prefill for questions should strictly follow the order in which the questions appear on the list.
|
|
|