Skalix AI Chat

By skalixai

0+ active installationsVersion 1.0.0

Connect your website to a Skalix AI or scripted chat widget and manage conversations and leads in your Skalix account.

Description

Skalix AI Chat connects WordPress to the hosted Skalix chat service. Visitors can ask questions through your configured AI assistant or scripted conversation flow. Configure your assistant, knowledge, appearance, and lead collection in Skalix, then enter its public widget ID in WordPress.

A Skalix account and an active web chat widget are required. Service charges and account limits may apply to the hosted service. The WordPress connector is free and does not impose license gates or feature limits on its own code.

Features:

  • Native settings under Settings > Skalix AI Chat.
  • Public widget ID configuration; no private API key required.
  • Explicit administrator opt-in before the widget can connect to Skalix.
  • Automatic loading or a consent-manager integration hook.
  • Suggested site privacy policy text.
  • Settings removed when the plugin is deleted, including on multisite.

The plugin does not synchronize WordPress posts, users, products, or orders. It does not include a consent banner. Chat conversations are managed in Skalix, not in WordPress.

External services

This plugin connects to Skalix, which hosts the chat interface, widget configuration, AI or scripted responses, conversations, and lead capture. This service is necessary to provide chat functionality.

After an administrator enables the service, the local loader requests https://www.skalix.ai/widget.js on public pages. In consent mode, this happens only after the site’s consent integration grants permission. The hosted script loads the chat interface from https://www.skalix.ai/widget/ and calls https://api.skalix.ai/api/public/widgets/ for configuration, installation status, and chat operations. These are service assets, not general-purpose CDN libraries. The hosted interface may load assets configured in your Skalix account, such as your avatar or logo.

When the service loads, data sent includes the public widget ID, page URL (including any query string), website domain, referrer, a browser-generated visitor ID, and ordinary connection metadata such as IP address and user agent. When a visitor uses chat, the service receives their messages and any contact details they provide. AI responses and any further processing depend on the assistant and integrations configured in your Skalix account.

The hosted widget uses browser storage for visitor recognition, chat continuity, and greeting dismissal. This plugin itself stores only the widget ID, enabled state, and load mode in the WordPress options table. It does not add independent analytics or telemetry. There are no external requests from the plugin on activation or in its settings screen. Merely saving a widget ID does not enable the service.

Review the service policies and update your site’s privacy notice before enabling chat:

Disabling or deleting the plugin stops future widget loads on uncached pages. It does not delete conversations held by Skalix or storage already created in visitors’ browsers. Handle service data access and deletion requests through your Skalix account or Skalix support. The plugin does not add a WordPress personal-data exporter or eraser because it does not store visitor conversations in WordPress.

Consent manager integration

Select “After my consent manager allows chat” if your site must wait for visitor permission. Your developer must connect the consent manager. After permission is granted, run both lines:

window.skalixChatConsent = true;
window.dispatchEvent(new Event('skalix:consent-granted'));

The flag handles permission granted before the loader executes; the event handles permission granted afterward. Only the boolean true grants permission. Repeat on each page where the consent manager confirms permission. Without this integration, consent mode intentionally leaves the widget unloaded.

On withdrawal, set window.skalixChatConsent = false and reload the page, ensuring the consent manager does not re-grant permission on the next load. The hosted widget has no teardown API; changing the flag alone cannot stop an already running chat or retract data already sent. This plugin does not persist consent or guarantee compliance with any law.

Installation

  1. Upload the plugin ZIP through Plugins > Add New Plugin > Upload Plugin, or place the skalix-ai-chat folder in /wp-content/plugins/.
  2. Activate Skalix AI Chat.
  3. Sign in to Skalix, open Channels > Web Chat, and configure an active widget. Add your website domain to its allowed domains.
  4. Open Settings > Skalix AI Chat in WordPress and paste the public wgt_... widget ID. Do not paste the full embed script or a private API key.
  5. Review the external service disclosure, choose the load mode, check Enable service, and save.
  6. Remove any earlier manual embed and clear your page cache. Visit a public page and test the chat. If using consent mode, connect and test your consent manager first.

FAQ

Do I need a Skalix account?

Yes. This is a connector for the hosted Skalix service. A configured, active web chat widget is required. Service charges may apply. It does not run an AI model on your WordPress server.

Does activation send data to Skalix?

No. The service starts disabled. An administrator must enter a valid widget ID and explicitly enable it. Consent mode additionally waits for permission from your site’s integration.

Where do I change the chat’s appearance or answers?

In your Skalix account. The widget uses the settings and assistant or scripted flow configured there.

Why is the chat not visible?

Check that the service is enabled, the widget ID is correct, the widget is active in Skalix, and your domain is allowed. In consent mode, confirm that your integration sets the flag and dispatches the event. Check browser extensions, Content Security Policy, and network errors. Chat is not loaded in WordPress admin, feeds, embedded post views, or previews. Your theme must call wp_footer().

Does it work with caching plugins?

The loader sets an explicit Skalix application origin so the widget does not mistake your WordPress domain for its host. It also marks scripts for optimizers that support per-script exclusions. If necessary, exclude skalix-ai-chat-loader and www.skalix.ai/widget.js from script combination, delay, and minification. Clear all page and CDN caches after changes, especially when disabling chat or switching consent mode.

Does it support multisite?

Settings are per site. Network activation does not enable the service automatically on any site. Deleting the plugin removes its local settings across the network.

What happens when I uninstall it?

WordPress deletes the plugin’s settings. Deactivation preserves settings for later use. Neither operation deletes data held by the hosted service or clears visitor browser storage.

Is the source code included?

Yes. All WordPress connector PHP and JavaScript are included in readable form; no build step is required. The remote chat service is documented above.

Changelog

1.0.0

  • Initial release with widget settings, administrator opt-in, consent-manager integration, privacy guidance, and uninstall cleanup.