Widget item identifiers

To collect statistics or customize a widget, you can refer to various elements of the widget through their unique identifiers:

  • The widget icon itself — uw-main-button
  • Widget close button — uw-main-button-close
  • Button to close the chat window when chatting is active — uw-close-chat-button
  • Is the task complete? — uw-task-solved-button
  • Submit button — uw-message-submit-button
  • Attachment button — uw-attachment-button
  • Each of the possible channel buttons:
    • id: 'uw-button-facebook',
    • id: 'uw-button-telegram',
    • id: 'uw-button-ok',
    • id: 'uw-button-viber',
    • id: 'uw-button-vk',
    • id: 'uw-button-skype',
    • id: 'uw-button-whatsapp',
    • id: 'uw-button-instagram',
  • Sending e-mail button when chatting starts — uw-send-email-button
  • Pressing the "Back" button and the "Write to us" button while viewing an article in the knowledge base:
    • uw-button-docs-write
    • uw-button-docs-back