Installing the widget on your own site
1. Overview
If your website is a store-builder site, you can install Web Chat on your store step by step with the wizard under Online Stores in the App Market in the top-right of the admin console: copy a one-line snippet, paste it into your store's backend, and a chat button appears in the bottom-right of your store's pages, with messages from visitors arriving in the Agent Workspace to be answered in one place.
Nothing needs to be activated, and there's no need to apply for a developer account on the store-builder platform or wait for review. The platforms with steps written up so far are: Shopify, SHOPLINE, Shoplazza, SHOPYY, UEESHOP, WordPress, OpenCart, BigCommerce, and SHOPOEM. Any other store builder, or a site you built yourself, can be set up the same way, as long as you can add a snippet of HTML to the page.
2. Steps
1. How do I get the embed code?
① Log in to the admin console, click App Market in the top-right, find your store builder under Online Stores, and click Integrate now.

② Step 1, Choose a site: pick a Web Chat site. If you don't have one yet, enter your store domain (for example shop.example.com) and click Create; the site name defaults to this domain, which you can change later under Web Chat.
③ Step 2, Add the store domain to the allowlist: check whether the store domain is already in the list, and if not, enter it and click Add to allowlist. Your store's own domain and the default domain the platform gives you (for example xxx.myshopify.com) are two different domains; add whichever one you want the chat button to show on; with www and without www also count as two.
④ Step 3, Copy the code: click Copy embed code.

⑤ Step 4, Paste into the … backend: follow the steps for your platform below to paste the code into your store's backend.
⑥ Step 5, Check whether it's installed: open your store's page (ideally in an incognito window); when a chat button appears in the bottom-right, it's installed. Send a message to test, and once it arrives in the Agent Workspace, you're connected.
The code is a single line, like:
<script src="https://widget.xiongmaoscrm.com/widget.js" data-site="wc_…" async></script>
Note: You can also create a site and copy the embed code under Web Chat in the left-hand menu — it's the same snippet. The chat window's color, welcome message, language, and so on are changed in the site's Settings under Web Chat; after you save, visitors see the change when they refresh the page, with no need to paste the code again.
2. How do I paste the code on each platform?
The steps below are done in the store builder's backend. Each platform revises its backend from time to time, so when a menu name doesn't match, go by what's in the platform's backend.
2.1 Shopify
① Log in to the Shopify backend and go to Online Store > Themes.
② Next to the theme you're using, click … > Edit code.
③ Under Layout on the left, open theme.liquid, find </body>, and paste the code on the line above it.
④ Click Save.
Note: If you switch themes, paste it again in the new theme. It's normal for the chat button not to show on the checkout page — Shopify's checkout page doesn't load theme code.
2.2 SHOPLINE
Method 1: the Custom Code app (recommended)
① Log in to the SHOPLINE backend and go to Apps > Custom Code; install it first if you haven't.
② Click Add code, enter any name (for example Web chat), and paste the code into Code content.
③ Set Trigger pages to all pages, Scope to Desktop and mobile, and Insert position to Footer.
④ Click Add, and the code takes effect immediately.
Method 2: edit the theme code
① Go to Online Store > Store Design, and click Actions > Edit code.
② Open layout/theme.html, paste the code before </body>, and click Save in the top-right.
Note: With Method 2 you have to paste it again when you switch themes; with Method 1 you don't.
2.3 Shoplazza
① Log in to the Shoplazza backend, go to the App Store, search for Custom Code Embed, and click Add app.
② Open the app, click Add code, and enter any name (for example Web chat).
③ Paste the code in; if there are position and page options, choose the page footer (body) and all pages.
④ Click Save.
Note: Code added through the app keeps working after a theme switch, which is less fuss than editing the theme code directly.
2.4 SHOPYY
① Log in to the SHOPYY backend, go to Store Settings > System Settings, and click Custom Scripts.
② Click New custom script in the top-right.
③ Enter any Script name (for example Web chat), set Type to Page, choose all pages for the display pages, and set Position to Site footer.
④ Paste the code into Script content and click Save.
Note: SHOPYY requires custom scripts not to interfere with checkout, so after saving, open the store and the checkout page and take a look at each to confirm both are fine.
2.5 UEESHOP
① Log in to the UEESHOP backend, go to Apps > App Store, search for Custom Code, and click Install.
② Open the app and click Add.
③ Enter any Title (for example Web chat), paste the code into Code content, and set Position to between <body></body>.
④ Click Save.
Note: If it doesn't show on some pages, go to Apps > My Apps > Custom Code > Edit, set Trigger pages to All pages, and save. The older backend doesn't have this app, so add the code under Settings > Third-party Code instead.
2.6 WordPress
Method 1: use a plugin (recommended)
① Go to Plugins > Add New, search for WPCode, and install and activate it.
② Go to Code Snippets > Header & Footer, and paste the code into the Footer box.
③ Click Save Changes.
Method 2: edit a theme file
① Go to Appearance > Theme File Editor, select the current theme in the top-right, and open Theme Footer (footer.php).
② Paste the code before </body> and click Update File.
Note: Method 2 is overwritten when the theme updates, so you have to add it again; a block theme (for example Twenty Twenty-Four) has no footer.php, so use Method 1. A site hosted on WordPress.com needs the Creator (formerly Business) plan or higher to install plugins, while a self-hosted WordPress has no such limit.
2.7 OpenCart
OpenCart 3.x (2.x is similar)
① Go to Extensions > Extensions, and set the extension type to Analytics.
② Find Google Analytics, install it first if it isn't installed, then click edit.
③ Paste the code into the code box, set Status to Enabled, and save.
OpenCart 1.5
① Go to System > Settings, and click edit in the store list.
② Switch to the Server tab, scroll down to Google Analytics Code, paste the code, and save.
Note: If you can't find this code box in the backend (for example OpenCart 4.x), ask whoever built the site to add the code before </body> in the theme footer template (footer.twig).
2.8 BigCommerce
① Log in to the BigCommerce backend, go to Storefront > Script Manager, and click Create a Script.
② Enter any Script name (for example Web chat), set Placement to Footer, and Location to Storefront pages.
③ Set Script category to Functional and Script type to Script, and paste the code into the script content box.
④ Click Save.
Note: If you've enabled Multi-Storefront, Script Manager is under the matching store in Channel Manager. If the store has a cookie-consent banner, the chat button appears only after a visitor consents to functional cookies. It's normal for the chat button not to show on the checkout page — Storefront pages doesn't include the checkout page.
2.9 SHOPOEM
① Log in to the SHOPOEM backend, go to Store Decoration > Theme Decoration, and click Decorate.
② Click the Footer block on the page, and in its text editor click the <> (source code) button.
③ Paste the code in and click Save.
Note: SHOPOEM is a platform under SHOPYY, and its backend menu names change with the version; when they don't match, go by the backend, or ask SHOPOEM support where to add third-party JS code.
FAQ
1. I pasted the code but don't see the chat button?
Check these in order: whether the code is saved or published; whether the store domain is in the site's allowlist (with www and without www count as two); whether the site is disabled; and, if the platform and CDN cache, wait a few minutes and refresh.
2. The chat button disappeared after I switched themes?
If you pasted it straight into the theme (Shopify, SHOPLINE Method 2, WordPress Method 2), you have to paste it again in the new theme after switching. Code added through an app like Custom Code is unaffected.
3. There's no chat button on the checkout page?
Shopify's checkout page doesn't load theme code, and BigCommerce's Storefront pages choice doesn't include the checkout page. This is normal.
4. What if I have several stores?
Create a site for each store and paste each one's code separately: the conversation title carries the site name, so you can tell at a glance which store a customer came from, and you can assign different sites to different agents. Several stores can also share one site — just add all the domains to its allowlist.
5. Who can do this?
Both the owner and administrators can open the App Market to view the steps. Creating a site and changing the allowlist require the owner, or an administrator granted the Web Chat permission under Agent Management.
6. Will it slow down my store?
The code loads asynchronously (with async), so it doesn't block your page content from showing.
Thanks for the feedback!
Still stuck? Reach us directly: Telegram @scrmqiye001 or email [email protected]
Last updated: