This project is not covered by Drupal’s security advisory policy.
Adds the Pinlyx live chat widget to your Drupal site, and optionally Pinlyx Live Visitors analytics. Paste your widget ID, save, done. No theme or template edits.
Pinlyx is an omnichannel inbox and AI agent for Telegram, WhatsApp, Instagram, Messenger, X, email and live chat. This module only handles the live chat install.
Requirements
- Drupal 10.3 or later, or Drupal 11.
- A Pinlyx account with a live chat widget. You need its widget ID.
Installation
Install with Composer, then enable the module:
composer require drupal/pinlyx drush en pinlyx
You can also enable it on the Extend page. See Installing modules for details.
Configuration
- Go to Administration, Configuration, Web services, Pinlyx Live Chat (
/admin/config/services/pinlyx). You need the "Administer Pinlyx Live Chat" permission. - Paste the Widget ID. In Pinlyx open Live Chat and look at the install snippet: the ID is the value after
widget.js?id=. It is a UUID with 36 characters. An invalid value is rejected. - Optional: tick Also load Pinlyx Live Visitors analytics and enter the Live Visitors site ID (the value after
cs.js?id=in the Live Visitors snippet). It is a different ID from the widget ID. - Optional: list paths where the widget must not load (one per line,
*is a wildcard,<front>is the front page) and select roles that should not get the widget. - Save. The widget now loads on public pages.
The widget is never loaded on administration pages. An empty widget ID turns the module off.
External service and privacy
This module loads scripts from api.pinlyx.com, a third-party service. When the scripts load, the visitor's browser contacts Pinlyx and visitor data is sent to Pinlyx (for the chat widget, the chat session and messages the visitor chooses to send; for Live Visitors, page views and visit data). The module itself stores nothing about visitors in your database.
You are responsible for covering this in your privacy policy and, where the law requires it, for asking for consent before the scripts load. Pinlyx privacy policy: https://pinlyx.com/privacy
Notes and limits
- Consent. The module does not read consent state. If you need consent first, use the path and role exclusions, or a consent module that blocks the script until the visitor agrees.
- Content Security Policy. If your site sets a CSP, allow
https://api.pinlyx.cominscript-srcandconnect-src. - Caching. Pages stay cacheable. The result varies by route, path and user roles, and the settings are a cache dependency.
- Aggregation. The scripts are external and are never aggregated.
Maintainers
Built and maintained by Pinlyx, an omnichannel inbox and AI agent for customer conversations.
Project information
- Project categories: Integrations, User engagement
- Created by pinlyx on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.