How to add an AI chat widget to WordPress, Shopify, Wix and Webflow

By CONVENTORA Team · Published

Most AI chat widgets, including CONVENTORA, are installed by pasting a small script into your website. Where exactly you paste it depends on your platform. This guide walks through WordPress, Shopify, Wix, Webflow and plain HTML, then covers testing and the problems people run into most.

Before you start

You need two things: access to your website's admin or theme settings, and your widget snippet. In CONVENTORA you find the snippet under Website widget in the dashboard. It is one script tag with your assistant's ID, loaded asynchronously so it doesn't slow down your page.

  • Prepare the assistant first: business details, opening hours, services and knowledge.
  • Check you have permission to add custom code — some hosted plans restrict it.
  • If you use a cookie banner or consent tool, decide whether the chat should load before or after consent and configure it accordingly.

WordPress

There are two common ways. The safest for non-developers is a code-snippet plugin, because theme updates don't remove it.

  1. In WordPress, go to Plugins → Add New and install a header-and-footer plugin such as WPCode.
  2. Open the plugin's Header & Footer settings.
  3. Paste the snippet into the Footer section.
  4. Save, then open your site in a private browser window to check the chat bubble appears.

Alternatively, go to Appearance → Theme File Editor and paste the snippet just before the closing </body> tag in your theme's footer file. Use a child theme, or the change may be lost when the theme updates.

Shopify

  1. In Shopify admin, go to Online Store → Themes.
  2. Next to your live theme, click the ⋯ menu and choose Edit code.
  3. Open layout/theme.liquid.
  4. Paste the snippet just above the closing </body> tag.
  5. Save and preview your store.

If you change themes later, add the snippet to the new theme too. Remember that an AI widget that answers from your content cannot see live order status unless it is integrated with your store's orders; CONVENTORA is not, so point order questions to your tracking page.

Wix

  1. Open your site's dashboard and go to Settings → Custom code (under Advanced).
  2. Click Add custom code and paste the snippet.
  3. Give it a name, choose All pages and set the placement to Body – end.
  4. Click Apply and publish your site.

Custom code requires a Wix plan that allows it and a connected domain. Code doesn't run in the Wix editor preview; check the published site.

Webflow

  1. Open your project and go to Project settings → Custom code.
  2. Paste the snippet into the Footer code box.
  3. Save changes and publish the site.

To show the chat on only some pages, add the snippet in each page's settings under Custom code → Before </body> tag instead.

Plain HTML and other builders

On a hand-built site, paste the snippet just before </body> in every page, or in the shared footer template if you have one. Most other builders — Squarespace, Framer, Jimdo, Joomla, Drupal — have a custom code or footer injection setting; look for words like "code injection", "custom code" or "footer scripts".

Testing the widget

  1. Open the site in a private window so caching and logins don't interfere.
  2. Check the bubble appears on desktop and mobile.
  3. Open the chat and ask five real customer questions.
  4. Try a booking and confirm it appears in your dashboard.
  5. Ask something the assistant shouldn't know and check it hands over politely.

Common problems and fixes

  • The bubble doesn't appear: clear your site's cache or CDN cache, and check the snippet is on the published site, not only in a preview.
  • It appears twice: the snippet was added in two places, for example both a plugin and the theme.
  • It's hidden behind another element: some themes have their own floating buttons; move or remove the conflicting element.
  • The chat says the assistant can't chat right now: the business needs an active plan or trial.
  • Answers are vague: add more specific content to the knowledge base, especially prices and policies.

Check publishing, access and caching separately

A missing widget does not always mean the code is wrong. Website builders often separate saving from publishing. A snippet can be saved in the editor but absent from the live site until the next publish. Test the exact public address your customers visit, including the www variant if your site uses it. Open a private window and a second device so an old cached page does not confuse the result.

Next check whether your plan permits custom scripts. If your builder blocks code injection, do not paste the script into a visible text block; that will display code rather than run it. Use the supported custom-code field, ask your site administrator for access, or choose a plan that supports it. For WordPress, avoid editing a parent theme if a plugin or child theme can keep the change across updates.

A cache or content-security policy can also affect scripts. Your site administrator may need to allow the widget source in the policy. That should be a narrow permission for the actual source, not disabling the whole security policy. If another floating tool overlaps the chat bubble, test the layout on a phone and adjust that tool. Do not assume a desktop screenshot proves the mobile experience.

Finally, check the data flow: open the widget, enter a valid email and ask a real question. Confirm the new conversation appears in your CONVENTORA inbox. If the assistant refuses to chat, check the active plan and configuration before reinstalling the snippet. Installation and service access are separate checks; changing the website code cannot fix an inactive assistant.

Frequently asked questions

Will a chat widget slow my site down?

A well-built widget loads asynchronously after your content. CONVENTORA's snippet uses async loading.

Can I show the chat on only some pages?

Yes. Add the snippet only to those pages' custom code instead of the global footer.

Do I need a developer?

No. If you can edit your site's settings, you can paste a snippet.

Can I change the colour to match my brand?

Yes. In CONVENTORA you set the brand colour and welcome message in the assistant settings.

Related pages

Try CONVENTORA on your own business

Set up your assistant in a few minutes. Every plan starts with a 7-day free trial; cancel before it ends and you pay nothing.