By platform
Live chat for WordPress
One script tag, then every message arrives in your Telegram. Including the three ways this specifically goes wrong on WordPress, which is the part the install docs leave out.
Last checked 1 September 2026
Live chat by platform/WordPress
The short answer
How do you add live chat to WordPress?
Before the closing body tag, added by our plugin or by a header and footer snippet plugin.
With TGLiveChat that is one tag and about five minutes. The widget is roughly 26KB across 3 requests, replies arrive in Telegram rather than in another dashboard, and your visitors need no Telegram account of their own.
What WordPress is, briefly
The most used website platform in the world, self hosted or on a managed host, running everything from a one page business site to a large publisher.
The install, step by step
- 1Install the TGLiveChat plugin, or if you prefer not to add a plugin, use any header and footer snippet plugin you already have.
- 2Paste your widget script into the footer field. Not the header field, because the widget has no reason to block your page from rendering.
- 3Save, then load your site in a private window. A logged in admin view is not a real test, because caching and optimisation plugins often skip it.
- 4Send yourself one message from a phone on mobile data. That is the test that catches the real problems.
The full walkthrough with screenshots is in the install guide.
The three ways this goes wrong on WordPress
Every one of these is a real failure that looks like a broken widget and is not. They are the reason this page exists rather than just a link to the docs.
Optimisation plugins will combine or defer the loader
WP Rocket, LiteSpeed Cache, Autoptimize and Perfmatters all have a "combine JavaScript" or "delay JavaScript execution" option, and all of them can swallow a third party loader. If the widget does not appear on the live site but does appear with caching disabled, this is why. Add the widget file to the exclusion list rather than turning the optimisation off.
Editing footer.php survives until the next theme update
Pasting the script directly into a parent theme file works perfectly and then disappears the next time the theme updates, usually weeks later, usually unnoticed. Use the plugin, a child theme, or a snippet plugin. Never the parent theme.
Page builders sometimes strip script tags
Elementor, Divi and Beaver Builder HTML widgets will keep a script tag, but some block editors and security plugins sanitise them out on save. If your script silently vanishes from the editor, add it at the site level instead of inside a page.
What WordPress gives you instead
WordPress has no built in chat, so this is a plugin decision either way. The free plugins in the directory are mostly wrappers around a hosted service, so you are choosing a vendor regardless of which one you install.
What a chat widget costs a WordPress page
WordPress sites are already carrying a theme, a page builder and a stack of plugins, and third party scripts are usually the largest single block of JavaScript on the page. A chat widget is often the heaviest single thing on a small business WordPress site, which is why the size of the one you pick actually shows up in your Core Web Vitals.
| Widget | Transfer size | Versus ours |
|---|---|---|
| Tawk.to | 749KB | 29x heavier |
| Zendesk Chat | 533KB | 21x heavier |
| Drift | 464KB | 18x heavier |
| LiveChat | 385KB | 15x heavier |
| Intercom | 301KB | 12x heavier |
| Crisp | 155KB | 6x heavier |
| LiveAgent | 79KB | 3x heavier |
| TGLiveChat | ~26KB | Baseline |
Competitor figures are DebugBear's measurements, published 14 July 2019 and updated 10 November 2025. Ours is measured by gzipping the files we serve, and the command is on our methodology page.
Why the replies land in Telegram
The reason most small sites end up with a dead chat widget is not the widget. It is that answering means opening a dashboard that nobody keeps open, so messages sit unread for six hours and visitors stop bothering. Telegram is already open on your phone, so a message from your website arrives the same way a message from a friend does.
Your visitors see none of that. They get a normal chat window on your WordPress site, they need no account, and they never learn which app you answered from. The AI agent handles the questions that have obvious answers while you are asleep, and hands anything else to you.
The bottom line
Adding chat to WordPress is one tag in the right place. Getting it to keep working is about the platform specific traps above, and about whether you will actually answer the messages once they arrive.
The free plan covers 100 conversations a month and does not ask for a card, which is a faster way to find out than reading any more of this.
Frequently asked questions
How do I add live chat to a WordPress site?
Is there a free live chat for WordPress?
Will a chat widget slow down my WordPress site?
Do my visitors need Telegram?
Why does the widget not show up on my WordPress site?
What is the native WordPress option?
Can I remove the branding?
How long does the install actually take?
Sources and references
- DebugBear: How Do Different Chat Widgets Impact Site Performance? Published 14 July 2019, updated 10 November 2025. Source of every competitor weight figure above.
- web.dev: Largest Contentful Paint The Core Web Vital that third party scripts move most on a content page.
- How we measure our own widget The command, the numbers, and the four figures we published wrong and corrected.