Chat for a 1C-Bitrix website
On Bitrix the widget line is added to the site template — once for every page. If there are several templates, the code is needed in each of them.
Through the site template
- 1 Open the template settings Admin area → Settings → Product settings → Sites → Site templates.
- 2 Find the bottom part of the template You need footer.php — what is printed at the end of every page.
- 3 Paste the line before the closing body tag Save the template and refresh the site.
<script async
src="https://api.widgetchat.ru/widget/bozex-support-widget.js"
data-widget-id="wc_ваш_идентификатор"></script>Through the counters section
Bitrix has a separate place for third-party service codes — the counters and metrics section. It fits the chat widget too: the code lands on every page while the template stays untouched. That way it survives product updates.
Common snags
- Several templates — The front page, the catalogue and the personal area often use different templates — the code is needed in each one where the chat should work.
- Composite cache — After the edit, drop the site cache, otherwise visitors keep getting the old page.
- A separate shop domain — If the catalogue lives on a subdomain, add it to the list of site addresses in the dashboard as well.
Frequently asked questions
Where do I paste the code in Bitrix?
Into the template's footer.php before the closing body tag, or into the counters section — then the template needs no editing.
Why is the chat missing on some pages?
Most likely part of the site uses another template. Add the code to every template in use.
Is WidgetChat compatible with Bitrix24?
They are different things: the chat goes on the site regardless of the CRM you use. Messages arrive in Telegram, and Bitrix24 can be connected as a second workplace.
Read next
Add the chat to your website
Sign up with email or Telegram, set it up in the dashboard, paste one line of code. Free right now.