Install the ZapClaw chat widget on WordPress.com
In short: WordPress.com lets you add the snippet only on the plans that allow plugins. On those, install a header and footer plugin and paste the snippet in its footer box. On a plan without plugins there is no way to add it, and the widget cannot be installed. A site you host yourself follows the WordPress guide.
Which plans work
WordPress.com decides which plans include plugins and renames its plans from time to time. At the time of writing, plugins are available from the Creator plan up (the plan once called Business) and the Entrepreneur plan (once Commerce). The Free, Starter and Explorer plans do not allow plugins or custom scripts.
To be sure, open your site's menu and go to Upgrades, then Plans. The page of your current plan lists whether plugins are included.
Install on a plan that allows plugins
<script async src="https://chat.zapclaw.app/loader.js" data-widget-id="YOUR_WIDGET_ID"></script>
Copy the exact snippet of your widget from the Agents area of the dashboard. The id above is a placeholder: yours is different.
- In your WordPress.com dashboard, open Plugins from the site menu and search for a header and footer plugin, for example WPCode. Install and activate it.
- Open the plugin's header and footer settings. In WPCode that is Code Snippets, then Header & Footer. Menu names change between plugins and versions.
- Paste the snippet in the Footer box and save.
- Open your site in a private window and look for the bubble.
Allowed websites. In the dashboard, add your site's address to the widget's allowed websites, exactly as visitors see it. https://www.example.com and https://example.com are two different addresses. A site that is not on the list shows no bubble.
If your plan has no plugins
- Upgrade to a plan that allows plugins, then follow the steps above.
- Move the site to WordPress that you host yourself, then follow the WordPress guide.
- A Custom HTML block is not a substitute. It would put the snippet on one page only, and WordPress.com can strip a script from it.
If the bubble does not appear
- Caches. If a caching plugin or a CDN serves your pages, clear its cache, or visitors keep getting the old page without the snippet.
- Plugin active. Confirm that the header and footer plugin is activated and that you saved the footer box.
- Content Security Policy. A site with a strict policy must allow
chat.zapclaw.app. The two lines are in the overview.
Visitors and signed-in users
On this platform the widget runs anonymous. It answers from the knowledge bases you marked public, collects a contact and hands the case to a person. What anonymous mode means.
Other install guides
- Overview, with the Content Security Policy lines and the privacy sentence.
- WordPress, for a site you host yourself.
- Google Tag Manager, with a Custom HTML tag.
Put your agent on your website
Build and publish your agent in the dashboard, then paste the snippet.
About ZapClaw Agents