Prepare access to both services

You need a GoMsg account with the website chat module enabled and permission to add JavaScript to your website. Use HTTPS for a production site. Some website builders restrict custom code by plan.

1. Create a widget in GoMsg

Open Business → Live Chat and click the plus button or New site. Enter a name, such as “Flower shop website”. A company is optional: the widget works on its own and can be linked to a company later.

The basic fields are enough to get started. More settings lets you set a greeting, color and allowed origin, such as https://flowers.example, without a page path. Anonymous entry lets a visitor begin without a GoMsg account.

2. Copy the embed code

Open the new widget and copy Embed snippet. Use your own snippet: it already contains the correct site ID and server address. The code below only illustrates the structure; it cannot be used without replacing YOUR_SITE_ID.

<script>
  window.GOMSG_CONFIG = {
    siteId: "YOUR_SITE_ID",
    server: "https://api.gomsg.pro"
  };
</script>
<script src="https://api.gomsg.pro/widget.js" async></script>

3. Add the code to WordPress

  1. Install and activate WPCode — Insert Headers and Footers from the official WordPress directory.
  2. Open Code Snippets and the Header & Footer section. Paste the entire copied snippet into Header.
  3. Save, clear the site cache if applicable, and open a published page.

Install the code once: do not duplicate it in both a plugin and your theme settings. If your hosting does not permit plugins or JavaScript, check which insertion method it allows first.

For Tilda, Wix or a custom theme

Tilda

Go to Site Settings → More → HTML code for the HEAD section. Paste the code and republish the pages. For a single page, use its additional settings. Test on the published site: official Tilda instructions.

Wix

The site must be published and have a connected domain. In dashboard settings, open Custom Code, add the snippet, choose the pages and select Head. Check whether the feature is available on your plan: Wix instructions.

For WordPress developers

In a custom integration, load the script with wp_enqueue_script and add the configuration before it with wp_add_inline_script. Avoid editing a parent theme file just for the widget: updates can overwrite the change. In a plain HTML site, add both blocks to the shared template.

4. Test a complete conversation

  1. Open the published website in a private browser window. Click the widget and send a test message.
  2. In GoMsg, open the selected widget's queue. Operator conversations are also available under Business in the chat list.
  3. Take the conversation and reply. Check that the answer appears in the widget.
  4. Repeat on a phone: the launcher should not cover checkout controls, navigation or cookie consent.

If the message is missing, check the server, operator access and selected widget. If the button is absent, check the saved code, cache and allowed origin first. Then ask a developer to check script loading, connection or Content Security Policy errors in the browser.

5. Add a recognizable appearance and a team

Appearance settings support an icon, round photo or logo. Upload an image, set the name, subtitle and color, check desktop and mobile previews, then save. Use a person's real photo with permission or your company logo.

When you need several operators, add them in widget settings and check their access. Linking a company helps organize website conversations alongside direct company conversations, with optional company branding. Learn more about the widget and companies in GoMsg.

Common questions

Do I need to create a company?

No. Create a standalone widget and link an accessible company later if needed.

What if an operator replies later?

The conversation stays in the queue and an operator can return to it. The visitor can continue when the browser session is retained. Do not assume that a closed website will deliver notifications; test that scenario separately.

Will AI answer automatically?

Only if you separately configure an available AI assistant and its provider. Test its answers and handoff to a person first; creating a widget does not automatically connect AI.