After installation, a floating chat button will appear in the bottom-right corner of your website. A visitor clicks it — a window opens and they type a message. You see it in the GoMsg messenger, reply, and the visitor gets the answer right on the site. All in real time.
What you'll need
- An account on a GoMsg server (a free one works)
- Access to your website admin (WordPress, Tilda, Wix, Shopify or any other)
- 5 minutes of your time
Step 1. Create a site in GoMsg
Sign in to the GoMsg messenger with your account. Go to the Business → Live Chat section. Click the “New site” button in the top-right corner.
Fill in the form:
- Site name — your site's name, e.g. “Flower Shop”
- Allowed origin — your site's address, e.g.
https://flowershop.ru - Greeting message — what the visitor sees when they open the chat. For example: “Hi! How can I help you?”
- Color — the color of the chat button and header (to match your brand)
- Entry mode — how a visitor starts the conversation (Anonymous is the simplest)
Click Create. The site will appear in the list. Open it — you'll find an Embed snippet block with ready-to-paste code.
Step 2. Copy the embed code
In the Embed snippet block, click the copy icon. You'll end up with code that looks roughly like this in your clipboard:
<!-- GoMsg widget --> <script> window.GOMSG_CONFIG = { siteId: "abc12345-...", server: "https://your-gomsg-server.com" }; </script> <script src="https://your-gomsg-server.com/widget.js" async></script>
Step 3. Add the code to your site
For WordPress
Two options:
- Via the Insert Headers and Footers plugin (recommended). Install the plugin, open Settings → Insert Headers and Footers, paste the code into the Scripts in header field. Save.
-
Via the theme file. Appearance → Theme Editor → find
header.php. Paste the code right before</head>. Save.
For Tilda
Open the project settings → Code in head. Paste the code. Apply to all pages. Publish.
For Wix
Settings → Custom Code → + Add Custom Code. Paste the code, choose “All pages” and the “Head” placement. Save.
For any HTML site
Open your HTML file, find the <head> tag and paste the code
right after it. If you use a templating engine (PHP, Twig, Blade) — add it to
your layout.
Step 4. Verify it works
Open your site in a browser. A floating button should appear in the bottom-right corner.
- Click the button — the chat panel opens.
- Type a test message.
- Go back to the GoMsg messenger → Business → Live Chat → Queue. A chat from the visitor will appear there.
- Reply as an operator — the response shows up on the site instantly.
Open the browser DevTools (F12) → Console. If you see an error —
check whether siteId is correct, whether your GoMsg server is
reachable from the browser, and whether AdBlock is blocking the widget domain.
Bonus: visitor identification
If a visitor is logged in on your site, you can automatically pass their name and email to the widget. The operator then immediately sees who they're talking to:
<script> GomsgWidget.identify({ display_name: "John Smith", email: "john@example.com" }); </script>
Call this code after the user logs in to your site. For example, after a successful WordPress authentication.
Frequently asked questions
How much does the widget cost?
It's free. No hidden fees, no “powered by” branding, no limits on operators or messages.
Can I customize the color to match my brand?
Yes. When creating a site in GoMsg, specify the HEX color you want. The button, chat header and your messages will use that color.
Will it work on mobile?
Yes. The widget is responsive — it expands to full screen on phones. It works on iOS Safari, Chrome for Android, and any modern browser.
What if I don't reply right away?
The message goes into a queue. When you open GoMsg, you'll see unread items in the Business section. You can reply later — the visitor will get a notification on the site.
What's next
The chat is connected. To get the most out of it — see how the widget looks for visitors and operators or deploy GoMsg on your own server for full control over your data.