WordPress Plugin
The official Conferbot plugin embeds the AI chat widget on a WordPress site or WooCommerce store and passes the logged-in user plus store context to the bot. Requires WordPress 5.8+, tested up to 6.5, PHP 7.2+ (the test suite runs green on PHP 7.4 and 8.2).
See it in action
Paste the Chatbot ID in Settings > Conferbot, save, and the chat is live - verified end to end in a dockerized WordPress 6.5:
How it works
The plugin hooks wp_head and injects the standard Conferbot loaderon your site's frontend:
<script src="https://cdn.conferbot.com/dist/v1/widget.min.js" async></script>
<script>
window.ConferbotWidget("<CHATBOT_ID>", "live_chat", {
user: { id, name, email }, // logged-in WP user, if any
customData: { platform: "wordpress", siteName, siteUrl, siteLanguage,
storeCurrency?, cartTotal?, cartItemCount? } // Woo, when active
});
</script>Appearance and behavior (colors, position, languages, proactive prompts) are configured in the Conferbot dashboard and delivered at runtime - the plugin does not duplicate those settings.
Requirements
- WordPress 5.8+ (tested up to 6.5)
- PHP 7.2+
- A Conferbot account with a published chatbot, or the built-in demo bot to try it first
Installation
- Install and activate the Conferbot plugin.
- In wp-admin, go to Settings > Conferbot.
- Paste your Chatbot ID (from the Conferbot dashboard: open your bot, click Share, then Copy Bot ID) - or click Try our demo bot.
- Turn the chat on and save. The chat bubble appears on your site.
Configuration
The settings page is a two-step form: paste the Chatbot ID, flip the switch. You can paste the bare 24-character hex ID, the full embed snippet, or a dashboard URL - the plugin extracts the ID automatically on save.
Per-page control: choose exactly where the chat appears - home, posts, pages, and (with WooCommerce) shop, cart, checkout, and account pages.
No account yet?
Click Try our demo bot in the settings - it fills in the public demo bot 691c970890527a0468f9b2c9, which works without a Conferbot account.
What the plugin passes to the widget
user- the logged-in WordPress user's id, name, and email (omitted for guests).customData-platform: "wordpress", site name, site URL, and site language.- When WooCommerceis active: store currency, cart total, and cart item count are added, so the bot and human agents see the customer's cart value.
Uninstall
Deleting the plugin runs its uninstall.php, which removes the plugin's options from the database. The plugin only stores its own settings (bot ID and display options) - conversations happen between the visitor's browser and Conferbot's servers.
Troubleshooting
Widget blank after install?
Confirm the bot is published in the dashboard and the Chatbot ID is the 24-character hex value. Testing with the demo bot 691c970890527a0468f9b2c9 isolates whether the problem is the plugin setup or your bot configuration.
Source
Open source (GPLv2 or later) on GitHub: Conferbot/conferbot-wordpress. 23 PHPUnit tests cover bot ID extraction, settings sanitization, WooCommerce-aware page-type resolution, per-page visibility, context building, and script-injection safety.