Global and conditional chatbots

Injecting the Aimogen Pro chatbot site-wide, and the full set of URL, content, role, language, device, browser, IP and time conditions.

AI Chatbot › Global Chatbots injects a floating chatbot across the site, with a large set of conditions deciding where it appears.

Aimogen Update: Inject Chatbot to the Entire Site Front End or Back EndEnabling global injection.Watch on YouTube

This tutorial was recorded before Aiomatic was renamed to Aimogen Pro. Some labels or interface elements may differ slightly from the current version.

Multiple Global Chatbots On Different Post CategoriesUsing the conditions to show different bots in different places.Watch on YouTube

This tutorial was recorded before Aiomatic was renamed to Aimogen Pro. Some labels or interface elements may differ slightly from the current version.

Enabling#

SettingControls
Inject Chatbot Globally To Your SiteMaster switch. Can target the front end, the admin, or both
Chatbot Locationbottom-right, bottom-left, top-right, top-left
Chatbot WidthDefault 460px
Chatbot Open Icon and Chatbot Open Icon WidthThe launcher bubble
Custom Chatbot Shortcode To Be Injected GloballyInject a specific configured shortcode instead of the default bot

That last setting is how you run several different global chatbots: point each condition set at a different shortcode with different persona and settings.

Automatic opening#

Four triggers can open the chat without the visitor clicking. Each has its own message, URL restriction and once-per-visitor flag.

TriggerSettings
On page loadpage_load_chat, page_load_chat_delay, page_load_chat_once, page_load_chat_urls, page_load_chat_message
On exit intentpage_exit_chat, page_exit_chat_once, page_exit_chat_urls, page_exit_chat_message
On scroll depthpage_scroll_chat, page_scroll_chat_percent, page_scroll_chat_once, page_scroll_chat_urls, page_scroll_chat_message
On inactivitypage_inactive_chat, page_inactive_chat_time, page_inactive_chat_once, page_inactive_chat_urls, page_inactive_chat_message

chatbot_invite_message sets an invitation message shown on the launcher.

Exit intent on a pricing page, opening once, is defensible. Immediate auto-open on every page is not.

Conditions#

Every condition comes as a pair — a blocklist and an allowlist. Set one or the other, not both.

URLs and content#

SettingEffect
Do Not Show The Chatbot On These URLsURL blocklist
Show The Chatbot Only On These URLsURL allowlist
Do Not Show The Chatbot On This WordPress ContentBy post, page or post type
Show The Chatbot Only On This WordPress ContentThe allowlist equivalent

Audience#

SettingEffect
Do Not Show The Chatbot For These User Roles / Show ... Only For These User RolesBy WordPress role
Do Not Show The Chatbot For These Languages / Show ... Only For These LanguagesBy site locale
Do Not Show The Chatbot For These IP Addresses / Show ... Only For These IP AddressesBy IP

Excluding administrator is a common first move — you do not need the bubble while you work.

Device and client#

SettingEffect
Do Not Show The Chatbot For These Devices / Show ... Only For These DevicesDesktop, tablet, mobile
Do Not Show The Chatbot For These Operating Systems / Show ... Only ...By OS
Do Not Show The Chatbot For These Browsers / Show ... Only ...By browser

Detection uses the bundled Mobile Detect library on the user agent, which is a heuristic. Do not rely on it for anything security-relevant.

Time#

SettingEffect
Show The Chatbot Between Specific Hours Each DayA daily time window
Days When To Always Show The ChatbotForce on for specific weekdays
Days When To Never Show The ChatbotForce off

Useful when the chatbot escalates to a human team: show it during staffed hours, hide it otherwise.

Extensions in the global chatbot#

Enable Chatbot Extensions In The Globally Injected Chatbot controls whether tool calling is active for the global bot.

Several global chatbots#

The pattern is:

  1. Configure a persona per audience.
  2. Build a shortcode for each, with its persona and settings.
  3. Put one in Custom Chatbot Shortcode To Be Injected Globally and set the conditions for it.

Because conditions are global rather than per-shortcode, running genuinely different bots on different sections usually means placing shortcodes in templates rather than relying on global injection alone.

Still stuck? Open a support ticket and include the diagnostics from Aimogen Pro › System & Logs › System Info.