Summary
Wrapper covers visitor identification and basic show/hide, but misses several documented commands (chat:open/chat:close, chat:message, chat:send, group, language), the on() event subscription surface (message_sent, message_received, messenger_close), the async smartsupp.vid property, and a number of _smartsupp.* config keys.
Gaps found
Missing API surface
Events not bridged
Config options not exposed
Auth modes
Deprecations in our current code
Intentionally out of scope
Sources
Summary
Wrapper covers visitor identification and basic show/hide, but misses several documented commands (
chat:open/chat:close,chat:message,chat:send,group,language), theon()event subscription surface (message_sent,message_received,messenger_close), the asyncsmartsupp.vidproperty, and a number of_smartsupp.*config keys.Gaps found
Missing API surface
smartsupp('chat:open')— programmatically open the messenger panel (not just show the launcher) — http://docs.smartsupp.com/chat-box/javascript-api/methods/smartsupp('chat:close')— programmatically close the messenger panel — http://docs.smartsupp.com/chat-box/javascript-api/methods/smartsupp('chat:message', text)— pre-fill the composer without sending — http://docs.smartsupp.com/chat-box/javascript-api/methods/smartsupp('chat:send', text)— send a pre-composed message — http://docs.smartsupp.com/chat-box/javascript-api/methods/smartsupp('group', '<GROUP_ID>')— agent/group routing, not exposed via wrapper — http://docs.smartsupp.com/chat-box/javascript-api/methods/smartsupp('language', code)— runtime locale switch (we acceptlocaleinpageViewbut no-op) — https://docs.smartsupp.com/chat-box/localization/smartsupp.vidasync property — visitor id accessor; could powergetIdentity()/ agetVisitorId()helper — http://docs.smartsupp.com/chat-box/javascript-api/properties/Events not bridged
smartsupp('on', 'message_sent', fn)— outbound message hook — http://docs.smartsupp.com/chat-box/javascript-api/events/smartsupp('on', 'message_received', fn)— inbound message hook (would backonUnreadCountChange-style API noted in AGENTS.md) — http://docs.smartsupp.com/chat-box/javascript-api/events/smartsupp('on', 'messenger_close', fn)— panel close hook — http://docs.smartsupp.com/chat-box/javascript-api/events/Config options not exposed
_smartsupp.cookieDomain— cross-subdomain session sharing — http://docs.smartsupp.com/chat-box/configuration/_smartsupp.hideMobileWidget— mobile-only hide — http://docs.smartsupp.com/chat-box/configuration/_smartsupp.orientation("left"/"right") — http://docs.smartsupp.com/chat-box/configuration/_smartsupp.offsetX/_smartsupp.offsetY— pixel offset — http://docs.smartsupp.com/chat-box/configuration/_smartsupp.color— brand color — http://docs.smartsupp.com/chat-box/configuration/_smartsupp.privacyNoticeEnabled/privacyNoticeUrl/privacyNoticeCheckRequired— consent UI — http://docs.smartsupp.com/chat-box/configuration/_smartsupp.ratingEnabled— http://docs.smartsupp.com/chat-box/configuration/_smartsupp.gaKey/_smartsupp.gaOptions— GA4 routing — https://docs.smartsupp.com/chat-box/google-analytics/language/groupas load-time options (currently no way to set without calling commands post-ready) — http://docs.smartsupp.com/chat-box/javascript-api/methods/Auth modes
name/email/phone/variablesonly, no signature parameter — https://docs.smartsupp.com/chat-box/visitor-identification/Deprecations in our current code
track()writes the event intovariableskeyed by event name, which permanently overwrites priorvariablesof the same name and is not what Smartsupp'svariablesslot is for. Withchat:send/message_sentnow on the radar, reconsider mappingtrack()to a no-op (or to a customvariablesnamespace) and document the limitation — https://docs.smartsupp.com/chat-box/visitor-identification/shutdown()sendssmartsupp('logout')butlogoutis not listed on the public Methods page — verify it still exists or replace withdestroy()-only semantics — http://docs.smartsupp.com/chat-box/javascript-api/methods/Intentionally out of scope
www.smartsuppchat.com/loader.js)Sources