Add live chat to WordPress
Install the muro plugin with your site already filled in, or paste the snippet with a header and footer plugin.
The fastest way: the muro plugin
- Download the muro plugin for this site (the zip already contains its widget ID).
- Plugins, Add New Plugin, Upload Plugin: Upload the zip and click Install Now, then Activate.
- Open your site in a private window: the chat bubble is in the corner. The plugin settings live under Settings, muro Live Chat.
The download is in your muro dashboard, under Sites, your site, Install. No account yet? Start free. Without the plugin, use the steps below.
Without the plugin
- 1Install a header and footer code plugin such as WPCode, then paste the snippet below in its footer box and save.
- 2Clear your cache plugin, if you use one.
<script>
(function(w,d,s,o){
w.MuroChat=o;w[o]=w[o]||function(){(w[o].q=w[o].q||[]).push(arguments)};
var j=d.createElement(s);j.async=1;j.src='https://muro.chat/widget.js';
d.getElementsByTagName('head')[0].appendChild(j);
})(window,document,'script','muro');
muro('init',{widgetId:'wgt_…'});
</script>- No zip at hand? In the plugin settings you can also paste the widget ID, or connect with a muro API key and the plugin finds the site by its domain.
- Prefer no plugin? Paste the snippet in the footer box of a header and footer code plugin such as WPCode.
- Using a cache plugin (WP Rocket, LiteSpeed, W3 Total Cache)? Clear its cache after activating.
Replace wgt_… with your site's widget ID. Your muro dashboard shows this same code with the ID already filled in. Script source: https://muro.chat/widget.js.
Check that it works
Open your site in a private window: the chat bubble shows in the bottom corner within a few seconds. In muro, the site page turns green as soon as a browser loads the widget, and the Check installation button tells you what is wrong if it does not: snippet missing, another site's widget ID, a Content-Security-Policy that blocks muro.chat, or a cache that still serves the old page.
The longer WordPress walkthrough on the blog
Free on one site, no card. Your snippet is ready as soon as you add the site.
Get your snippet