Widget: Embed your Text Agent on a Website
Embed and customize the Dapta Widget, verify a real website conversation, and investigate delayed responses.
Open your Text Agent's Channels โ Dapta Widget. You need access to edit your website or its script-insertion settings and an agent ready for customer conversations.
Install and test
Copy the Agent ID for reference and the generated embed snippet from Dapta.
Paste the snippet into your site's HTML or approved script field, using your website platform's publishing process. Use the generated code rather than reconstructing a script URL.
Publish the website change and open the actual page in a fresh browser session.
Send a test message, verify the reply, and locate the conversation in Inbox.
Test both desktop and mobile layouts before making the widget part of your customer journey.
Avoid installing the same snippet twice through both a tag manager and the page code.
Customize the experience
Welcome message
The introductory text customers see.
Default questions
Clickable starting questions. Add examples manually or generate suggestions with AI, then review them.
Widget style
Primary/background colors and optional advanced CSS. Test contrast, small screens, and conflicts with your site's styles.
Auto Open
Whether the widget opens automatically. With it enabled, an empty page list applies to all pages on refresh.
Page list
Add individual page entries using the control; press Enter to add each item. It is not a slash-separated list.
Voice Agent
When configured, selects the voice agent for the widget's call-request flow; it is not merely a text-agent voice setting.
Click Save Changes after editing and verify the result on the actual website. If you also changed agent instructions, follow the separate save/test/publish workflow.
Provide conversation context
The additional-instructions section can use parameters supplied by your website. Follow the generated example for setConversationParams(object); the example keys are user_id, user_name, and user_email.
Supply the values from your own application at the appropriate point in widget initialization. They are examples, not proof that Dapta automatically knows the visitor's identity. Do not place secrets, access tokens, or unnecessary personal information in browser code. Browser-provided context is not a substitute for server-side authorization.
Enable/configure the additional instructions, save, and test a new conversation to confirm that the intended context is used.
Troubleshoot a missing or slow reply
Widget missing: confirm the generated snippet is on the published page, loaded only once, and not blocked by the site's script policy or browser extensions.
Old appearance/content: save changes, reload the actual website, and confirm the snippet belongs to the intended agent.
Slow reply: allow the current response to finish; avoid repeatedly submitting the same message. Agent reply delay, external actions, and slow processing can affect perceived response time.
Reply visible in Inbox but not on the site: record the page URL, agent, conversation, time, and browser. This separates a display/delivery problem from an agent that never generated a reply.
No reply in either place: check publication, conversation behavior, action failures, and human assignment.
Persistent failure: test a fresh conversation and another browser, then contact support with the recorded details. Do not include credentials in screenshots.
The embedded website and the editor's preview may use different builds. A successful preview is not a substitute for testing the deployed page, and slow-response handling is not a guaranteed response-time SLA.
Source review: September 17, 2026.
InboxLast updated