On WordPress.com, installing plugins needs a plan that allows them. Self-hosted WordPress (WordPress.org) has no limit.
Use it exactly as it is. Don't change the address or download the file: the chat updates itself from there.
You only paste it once. Colours, messages and everything else change from the dashboard and reach your site within about a minute.
Add the code with a free plugin (easiest)
A footer-code plugin keeps the code safe when your theme updates, and you never touch a theme file. This guide uses WPCode, which is free; any plugin with a footer box works the same way.
In your WordPress admin, go to Plugins › Add New Plugin, search for WPCode, then Install Now and Activate.
Open Code Snippets › Header & Footer in the admin menu.
Paste your install code into the Footer box.
Choose Save Changes.
That's it: every page of your site now has the chat. You don't need a separate "Quarito plugin".
Or add it to your theme
Comfortable with theme files? Use a child theme, so a theme update doesn't wipe the code out, and add this to its functions.php:
functions.php
// The Quarito live chat, at the bottom of every page
add_action( 'wp_footer', function () {
echo '<script src="https://chat.quarito.com/l/YOUR-SITE-ID.js" async></script>';
} );
Or paste the code just above </body> in the child theme's footer.php. More on this in the PHP guide.
The chat on some pages only
Keep the code in the footer of every page, then list the pages that shouldn't show the chat under Chat Widget › Behavior › Pages without the chat, for example /thank-you or /members/*. Your WordPress admin pages never show it: the footer code only runs on your public site.
If the chat doesn't show on WordPress
A caching plugin serves the old page. Clear the cache in WP Rocket, W3 Total Cache, LiteSpeed Cache or whichever you use, and in your host's cache or CDN.
A speed plugin delays or combines scripts. Exclude the chat's address (chat.quarito.com) from "delay JavaScript" and "combine JavaScript" settings.
Your theme doesn't call wp_footer(). Almost every theme does; if yours doesn't, paste the code into its footer.php instead.
Open your site in a private (incognito) window, so you see it the way a visitor does.
Look for the chat button in the bottom corner of the page, then send yourself a test message.
In the dashboard, the message appears in your Inbox as it arrives. Reply, and watch the answer reach the website.
You can also choose check the installation on the Install tab of Administration › Chat Widget: we load your home page and look for your code. No button? Go through when the chat doesn't show.
Set up the rest
The chat is on your WordPress site. A few minutes in the dashboard makes it yours: