After deploying your widget, follow this guide to verify everything works correctly before going live.

Prerequisites

  • Your widget integration is deployed on your website
  • Access to the site in a desktop and mobile browser
  • A set of realistic test questions your users would ask

1. Basic Functionality

Widget Appearance

  1. Visit your website and confirm the widget appears in the correct position
  2. Verify colors, text, and sizing match your dashboard configuration
  3. Click the widget to open it and confirm the greeting message displays
  4. Close and reopen the widget to verify it transitions smoothly

Agent Communication

  1. Send a simple message like “Hello, can you help me?”
  2. Verify the agent responds within a few seconds
  3. Ask a question that should be answered from your knowledge base (e.g., “What is your return policy?”)
  4. Confirm the response references your uploaded content accurately

2. Interaction Mode Testing

Tell Mode

Ask information questions your users would typically ask. Verify responses are accurate, relevant, and drawn from your knowledge base.

Show Mode

Request step-by-step guidance (e.g., “Show me how to create an account”). Verify the agent provides clear steps and highlights relevant UI elements on your page.

Do Mode

Ask the agent to perform an action (e.g., “Help me fill out this form”). Verify the agent executes the task correctly and provides feedback on its progress.

3. Edge Cases

  • Unclear input — send vague or incomplete messages and verify the agent asks for clarification
  • Off-topic questions — ask something unrelated to your business and verify the agent handles it gracefully
  • Long messages — send a lengthy message to test input handling
  • Follow-up questions — ask “Can you tell me more about that?” after a response to verify context is maintained
  • Network interruption — disconnect and reconnect your network to verify the widget recovers

4. Device and Browser Testing

Desktop Browsers

Test on the supported browsers:
  • Chrome 90+
  • Firefox 88+
  • Safari 14+
  • Edge 90+
Verify the widget appears, opens, and responds correctly in each.

Mobile Devices

  • Test on iOS (Safari) and Android (Chrome) at minimum
  • Verify the widget is usable on smaller screens
  • Test touch interactions (tapping to open, scrolling messages, typing)
  • Test in both portrait and landscape orientation

5. Debugging

Browser Console

Open your browser’s developer tools (F12 or Cmd+Shift+I) and check the Console tab. The widget logs diagnostic information that can help identify issues:
  • Connection errors to the API or AI agent endpoint
  • SSE stream failures
  • Configuration loading issues

Common Issues

ProblemWhat to check
Widget not appearingScript tag placement, mtx-id and mtx-key values, CSP or ad blocker interference
Widget not respondingAgent and application status in dashboard, network tab for failed requests
Slow responsesNetwork connectivity, test agent in the Marketrix playground
Appearance mismatchDashboard widget settings, browser cache (try hard refresh)
Mobile layout issuesDevice visibility setting in dashboard, test on actual devices

6. Pre-Launch Checklist

Before going live, confirm:
  • Widget appears correctly on all target pages
  • Agent responds accurately to common questions
  • All enabled interaction modes work as expected
  • Widget works on desktop and mobile
  • Quick action chips (if configured) function correctly
  • Human handoff (if enabled) escalates properly
  • No JavaScript errors in the browser console

Next Steps

  1. Monitor and troubleshoot — handle issues as they arise
  2. Refine your agent — improve responses based on real user interactions
  3. Update your knowledge base — keep content accurate and current