Base de conhecimento GetMyBot

Install on 1C-Bitrix

Add the widget snippet to the site template's header.php and verify it loaded.

Nesta página

To let visitors to your 1C-Bitrix site contact you in chat, add GetMyBot’s widget code. Copy the complete snippet from Widget → Install in GetMyBot. The script loads the chat button.

Before installing it, add your site address to Allowed sites. For example, if the page is https://example.com/catalog, enter https://example.com without /catalog. See Site widget for chat settings.

Where to paste the snippet

Open the active site template's header.php (the exact admin path to the template editor varies by edition — look under your site's template settings) and paste the complete snippet right before </head>.

Verify the installation

Publish the updated template on your site.

Open the published page as a visitor, click the chat button, and send a test message. It should appear in Chats in GetMyBot. Seeing the code on the page alone does not confirm that messages arrive.

Then open Widget → Install in GetMyBot and run Check installation on a published page. Automatic diagnostics explains the widget readiness result.

Common pitfalls

  • Edit the template the site actually serves, not a copy kept for reference — editing a copy changes nothing for visitors.
  • If the site has more than one active template (desktop/mobile, or per-section templates), add the snippet to every template that should show the widget.
  • Bitrix or a server in front of it may show visitors an older page without the widget. Clear its cache after saving.

What's next