Overview
The Chat channel provides a customizable web chat widget that you can embed on your website. It enables real-time conversations with your visitors powered by your AI agent.Features
Instant Responses
Your agent responds to visitors immediately, 24/7
Customizable Design
Match your brand with custom colors and styling
Human Takeover
Seamlessly take over conversations when needed
Rich Media
Support for images, links, and formatted text
Installing the Chat Widget
Basic Installation
Add the following code to your website, just before the closing</body> tag:
You can find your bot ID in Settings > Share in your Clarky dashboard.
Configuration Options
Customize the widget behavior with additional options:Advanced Integration
- WordPress
- Shopify
- React/Next.js
- Google Tag Manager
For WordPress sites:
1
Access Theme Editor
Go to Appearance > Theme Editor in your WordPress admin.
2
Edit Footer Template
Find and edit your
footer.php file.3
Add Code
Paste the Clarky embed code before the closing
</body> tag.4
Save Changes
Save the file and test your site.
Customizing Appearance
Colors and Branding
Customize your chat widget to match your brand:1
Navigate to Interface Settings
Go to Settings > Interface in your dashboard.
2
Customize Colors
Configure:
- Header Background: The color of the chat widget header
- Header Text: The color of text in the header
- Primary Color: Buttons and accents
- Background: Chat background color
3
Upload Avatar
Add a custom avatar image that appears in the chat.
4
Save Changes
Changes apply immediately to your widget.
Greeting Message
Set a welcoming first message:- Go to Settings > Interface
- Edit the Chat Greeting field
- This message appears when users open the chat
Starter Prompts
Add quick-click options for common questions:Chat Widget Features
Real-Time Messaging
- Instant delivery: Messages send and receive in real-time
- Typing indicators: Show when the agent is typing
- Read receipts: Know when messages are read
- Message history: Conversations persist across sessions
Rich Content
Your agent can send various content types:Text Messages
Text Messages
Standard text responses with formatting support (bold, italic, lists, etc.)
Links and Buttons
Links and Buttons
Images
Images
Product photos, diagrams, or helpful visuals.
Cards
Cards
Structured information like product cards or feature highlights.
Human Takeover
When a conversation needs human attention:- You’ll receive a notification
- Click to join the conversation
- The user is notified a human has joined
- You can take over or assist the AI agent
The AI agent continues to suggest responses even during human takeover, helping you respond faster.
Best Practices
Position Strategically
Position Strategically
Place the chat widget where it’s visible but not intrusive. Bottom-right is most common, but bottom-left works well for RTL languages.
Set Expectations
Set Expectations
In your greeting, clearly state what the agent can help with. This prevents frustration and improves user experience.
Use Starter Prompts
Use Starter Prompts
Well-crafted starter prompts guide users toward topics your agent handles well and reduce confusion.
Monitor and Iterate
Monitor and Iterate
Review conversations regularly to identify areas where your agent struggles, then add knowledge to improve responses.
Enable Human Takeover
Enable Human Takeover
Always have a human agent available to take over when needed, especially during business hours.
Test Mobile Experience
Test Mobile Experience
Ensure your chat widget works well on mobile devices, as many users will access it from phones.
Testing Your Chat Widget
Before going live:1
Test on Staging
If you have a staging or test site, deploy there first.
2
Try Different Scenarios
Ask various types of questions:
- Common questions (hours, location)
- Product inquiries
- Support requests
- Edge cases
3
Test on Multiple Devices
Check desktop, tablet, and mobile devices.
4
Verify Handoff
Test the human takeover feature to ensure smooth transitions.
Troubleshooting
Widget Not Appearing
Widget Not Appearing
If the widget doesn’t show:
- Verify the embed code is in the HTML
- Check browser console for JavaScript errors
- Ensure the bot ID is correct
- Clear browser cache and reload
Styling Issues
Styling Issues
If the widget looks wrong:
- Check for CSS conflicts with your site
- Verify custom colors are valid hex codes
- Try disabling site-wide CSS temporarily
Messages Not Sending
Messages Not Sending
If messages fail to send:
- Check your internet connection
- Verify the bot is active in Clarky dashboard
- Check browser console for errors
Analytics and Insights
Track chat widget performance:- Conversations started: How many users engage
- Response time: How quickly the agent responds
- Completion rate: Percentage of conversations resolved
- Popular questions: Most common user inquiries
- Handoff rate: How often human agents take over
View Analytics
Learn more about tracking your chat performance

