Title: Scrapia Webchat Widget
Author: carlupi
Published: <strong>2026 年 10 月 11 日</strong>
Last modified: 2026 年 10 月 11 日

---

搜索插件

![](https://ps.w.org/scrapia-webchat-widget/assets/banner-772x250.png?rev=3739780)

![](https://ps.w.org/scrapia-webchat-widget/assets/icon.svg?rev=3739780)

# Scrapia Webchat Widget

 作者：[carlupi](https://profiles.wordpress.org/carlupi/)

[下载](https://downloads.wordpress.org/plugin/scrapia-webchat-widget.1.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/scrapia-webchat-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/scrapia-webchat-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/scrapia-webchat-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/scrapia-webchat-widget/#developers)

 [支持](https://wordpress.org/support/plugin/scrapia-webchat-widget/)

## 描述

Scrapia Webchat Widget connects your WordPress site to your Scrapia assistant. The
widget appears as a floating button. Colors, avatar, welcome message, and starter
buttons are configured in the Scrapia dashboard, not in WordPress.

Features:

 * Setup with a single field: the widget ID.
 * The ID is checked when you save: you are told if the widget does not exist or
   is inactive.
 * Place the widget at the bottom right (default) or bottom left of the screen.
 * Hide the chat from site administrators.
 * Exclude specific paths (for example checkout).
 * Compatible with the most common caching plugins.

You need a Scrapia account with a Webchat widget configured.

### External services

This plugin relies on an external service: the Scrapia API (https://api.scrapia.
ai). The widget does not work without it.

What is sent, and when:

 * When you save the settings in the WordPress dashboard, the plugin calls `GET /
   api/v1/webchat/demo/{widget_id}` to confirm that the widget exists. Only the 
   widget ID is sent.
 * On the front end, the plugin loads `embed.js` from the API. That script runs 
   in the visitor’s browser and, when the visitor sends a message, sends the message
   text, an anonymous visitor identifier, and the widget ID to the API. It also 
   loads the history of that conversation.
 * The script stores an anonymous visitor identifier in the browser’s `localStorage`,
   so the conversation continues across pages.
 * The plugin does not send WordPress account data or the content of the site.

Terms of service: https://scrapia.ai/cl/terminos/
 Privacy policy: https://scrapia.
ai/cl/politica/

If your site requires consent before cookies or local storage, keep the widget hidden
until the visitor accepts by using the `scrapia_chat_should_render` filter.

## 安装

 1. Upload the `scrapia-webchat-widget` folder to `/wp-content/plugins/`, or install
    the .zip from Plugins  Add New.
 2. Activate it from the Plugins screen.
 3. Go to Settings  Scrapia Webchat Widget.
 4. Paste the widget ID shown in the Scrapia dashboard, under Channels  Webchat.
 5. Save. You should see “Widget connected” with your widget name.

## 常见问题

### Where do I find the widget ID?

In the Scrapia dashboard, under Channels  Webchat. It is the same ID shown in the
embed code.

### Can I change the colors or the welcome message from WordPress?

No. Those are configured in the Scrapia dashboard and apply to the widget without
changing WordPress.

### Can I show the widget on the left?

Yes. In Settings  Scrapia Webchat Widget, set “Position” to “Bottom left”. The default
is bottom right. On phones the chat window opens full screen, so only the button
changes side.

### How do I hide it on some pages?

In Settings  Scrapia Webchat Widget, use the “Excluded paths” field. One path per
line, with a trailing `*` to include subpaths.

### Can I control it from code?

Yes, with the `scrapia_chat_should_render` filter:

    ```
    add_filter( 'scrapia_chat_should_render', function ( $render ) {
        if ( is_singular( 'product' ) ) {
            return false;
        }
        return $render;
    } );
    ```

### The widget does not appear

Check that “Show the chat” is enabled, that the ID is correct, and, if you are logged
in as an administrator, that “Hide from administrators” is off.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Scrapia Webchat Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ carlupi ](https://profiles.wordpress.org/carlupi/)

[帮助将「Scrapia Webchat Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/scrapia-webchat-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/scrapia-webchat-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/scrapia-webchat-widget/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/scrapia-webchat-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/scrapia-webchat-widget/)。

## 更新日志

#### 1.1.0

 * New: “Position” setting to show the widget at the bottom right (default) or bottom
   left.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**3 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/scrapia-webchat-widget/)
 * 标签
 * [AI](https://cn.wordpress.org/plugins/tags/ai/)[chat](https://cn.wordpress.org/plugins/tags/chat/)
   [chatbot](https://cn.wordpress.org/plugins/tags/chatbot/)[live chat](https://cn.wordpress.org/plugins/tags/live-chat/)
   [support](https://cn.wordpress.org/plugins/tags/support/)
 *  [高级视图](https://cn.wordpress.org/plugins/scrapia-webchat-widget/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/scrapia-webchat-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/scrapia-webchat-widget/reviews/)

## 贡献者

 *   [ carlupi ](https://profiles.wordpress.org/carlupi/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/scrapia-webchat-widget/)