← All add-ons

MxChat Triggers

Version 2.2.2 · Updated 1 day ago

Turn any element on your site into a chat trigger. Click a button to fire a predefined message, open the chat from anywhere, route visitors to a specific bot — via data attributes, shortcodes, or JavaScript.

Features

  • Data attribute triggers — drop `<button data-mxchat-trigger="Hello!">` on any HTML element for instant chat-on-click integration.
  • JavaScript API — programmatic control via `window.mxchatOpenAndSend('message')` for custom flows and event-driven triggers.
  • Shortcode integration — `[mxchat_trigger message="..." bot_id="support" text="Talk to support" class="my-btn"]` works in posts, pages, and page builders.
  • Multi-Bot targeting — route specific triggers to specific bot IDs (e.g. "Talk to Sales" opens the sales bot, "Get Help" opens support).
  • Built-in button styles — `mxchat-btn-primary`, `mxchat-btn-secondary`, `mxchat-btn-gradient` for ready-to-ship trigger CTAs.
  • Animation classes — shake, pulse, bounce — draw attention to high-conversion triggers without custom CSS.
  • Page-builder compatible — works inside Elementor, Bricks, Divi, Kadence Blocks, and any builder that supports HTML or shortcodes.
  • Customize per trigger — different message, different bot, different button text, different styling on every CTA across your site.

What's new

Version 2.2.2

= 2.2.2 =

  • Migrated to the new MxChat plugin release channel. Future updates will be delivered through MxChat's signed release pipeline instead of QuickDeploy. No functional changes.
  • Improved Version constant now derives from the plugin header — sidebar badges and asset cache-keys can't drift from the actual installed version.