Widget attributes
The<scentbot-widget> element is configured through HTML attributes. All attribute names use kebab-case.
Required attributes
Optional attributes
Language and user identity
Positioning and notifications
Open/close behavior
Appearance and customization
Session
Metadata
Themetadata attribute accepts a stringified JSON object with user context that helps ScentBot personalize recommendations:
Additional custom fields can be included and will be forwarded to the backend.
Disable options
Thedisable attribute accepts a stringified JSON object. Set any property to true to disable that feature:
Position modes
When using
fill-container, the widget opens automatically and fills its parent element. This is useful for embedding ScentBot in a dedicated page section rather than as a floating overlay.Example: fully configured widget
Next steps
Events
Listen for add-to-cart events and control the widget programmatically.
Capabilities
What ScentBot can do — search types, image search, and more.

