Alive5
Alive5 embeds the Alive5 live chat widget on your Drupal site from the admin interface — with no theme, template, or code changes. Cache-safe display rules control exactly which pages, roles, and content types show the chat.
Features
- Point-and-click setup. Enable the widget and paste your Alive5 Widget ID on a single settings page — the chat appears the moment you save. No editing
html.html.twig,page.html.twig, or any template. - Precise display rules. Show the widget on the entire site, on selected pages only, or everywhere except selected pages, using Drupal path patterns (wildcards and the
<front>token supported). - One-click exclusions. Hide the widget on administration pages, user account pages (
/user*), and cart/checkout pages. - Audience targeting. Show it to everyone, anonymous visitors only, or logged-in users only; restrict by user role; and/or restrict to specific content types.
- Cache-correct by design. Every rule reports the right Drupal cache metadata, so the module works cleanly with Internal Page Cache, Dynamic Page Cache, BigPipe, and CSS/JS aggregation — with no cache poisoning.
- Faithful, safe injection. The vendor script loads asynchronously and exactly once (duplicate-load guard included), preserving the official Alive5 embed attributes.
- Exportable configuration. All settings live in Drupal configuration and round-trip through
drush config:export/config:import.
Post-Installation
After enabling the module, go to Configuration → System → Alive5 (/admin/config/system/alive5) and:
- Enter the Widget ID from your Alive5 account and keep Enable the Alive5 widget checked.
- Choose where and to whom the widget appears using the Display rules and Audience sections.
- Save. The widget is now live.
There is nothing else to configure — no content types, text formats, or blocks to place. Access to the settings page is controlled by the Administer Alive5 permission.
Additional Requirements
Drupal core 10 or 11. No other contributed modules or external libraries are required. You do need an Alive5 account to obtain a Widget ID; the chat runtime itself is served by Alive5.
Recommended modules/libraries
None are required. If your site sits behind a reverse proxy or CDN (Varnish, Cloudflare), pair this module with Purge so configuration changes invalidate the edge cache via cache tags. The module coexists with Google Tag Manager (Google Tag) without conflict.
Similar projects
Generic “add a snippet” modules can inject arbitrary JavaScript, but they leave display logic and caching up to you. Alive5 is purpose-built for the Alive5 widget: it reproduces the official embed snippet exactly (async, data-widget_code_id, single-load guard) and adds cache-aware, Drupal-native visibility rules instead of raw code in your theme.
Supporting this Module
Issues and merge requests are welcome in the project issue queue. For questions about the Alive5 platform itself, contact Alive5 support.
Community Documentation
See the module’s README.md for installation, configuration, troubleshooting, and uninstall instructions. Alive5 platform documentation is available at alive5.com.