Wonderchat Documentation
  • 👋Welcome to Wonderchat
  • Overview
    • ⚖️Pricing
    • ✨Our Features
    • 🔍Content Overview
  • Setup Guides
    • 📪Setting up your Chatbot
      • Creating Your First Chatbot
      • How to set-up a Spontaneous Greeting Message
      • Setting up Multi-lingual Chatbots
      • How to Pick Between Source Citations Options For Your Chatbot
      • Add Suggested Questions to your Chatbot
      • Selecting Between AI models for your chatbots
      • How to Crawl and Update Private Sites
      • How to Customize Your Notification Settings for Your Chatbot
    • 🤖Training your Chatbot
      • How to add or delete webpages or websites from your chatbot
      • How to manually update your Chatbot website link for Re-Crawling
      • How to use PDF and website links simultaneously as data sources for your chatbot
      • How to upload Videos and Audio files into Wonderchat
      • How to add or delete PDFs from your chatbot
      • Writing Support Documentation for AI Chatbots
    • 🖥️Adding your Chatbot to your website
      • How to Embed a Chat Widget
      • How to Embed a Chat Screen
      • Embedding for Wix
      • Embedding for Shopify
      • Embedding for WordPress
      • Embedding for Drupal
      • Embedding for Webflow
    • ✍️Correcting your Chatbot
      • How to Set Up Chatbot Corrections
      • How to Resolve Pending Corrections
      • Export and Import Corrections
    • 💅Styling your Chatbot
      • How to Adjust Chat Widget Size
      • Customizing Your Chatbot's Style and Color
      • Using Custom CSS to style your chatbot
    • 👨‍💼Human Handover for your Chatbots
      • AI Chatbot Handover to Human Support via Email
      • How to Set Up Live Chat within Wonderchat
    • 📇Collecting Leads with your Chatbot
      • How to set-up leads generation sequences
      • How to collect user names, emails and phone numbers from users
      • Turning on email notifications for every new lead collected
      • [For Enterprise Users] How to Route Chats by Topic to Sales Representatives
    • 🤝Sharing your Chatbot
      • How to Share Your Chatbot Publicly
      • How to Add Team Members to Wonderchat
    • 🔋Using Chatbot Tools
      • Set-up Custom Chatbot Tools
    • ⚙️Adding Chatbot Workflows
      • Set-up Chatbot Workflows
  • Integration Guides
    • Active Campaign
    • Calendly
    • Freshdesk
    • HubSpot
      • Adding Wonderchat Tags to Hubspot
    • Shopify
    • Slack
      • Slack (via Zapier)
    • Twilio
    • WhatsApp
    • Zapier App
    • Zendesk
    • Google Drive
    • Microsoft Sharepoint
  • FAQ
    • How To Exclude VAT/GST Charge at Checkout
    • How To Exclude VAT/GST Charge after Checkout (via Tax Refund)
    • How to Apply a Promo Code at Checkout
    • Upgrading Wonderchat Subscription
Powered by GitBook
On this page
  • Step 1: Copy Your Chatbot's Embed Code
  • (Optional) Adjust Chatbot Position and Size
  • Step 2: Login to Shopify.
  • Step 3: Edit Theme
  • Step 4: Paste the Chatbot Embed Code
  • Step 5: Save and Preview Your Store
  • Step 6: Test Your Chatbot

Was this helpful?

  1. Setup Guides
  2. Adding your Chatbot to your website

Embedding for Shopify

A Guide on How to Embed Chatbot Widget for Shopify users.

PreviousEmbedding for WixNextEmbedding for WordPress

Last updated 7 months ago

Was this helpful?

The Wonderchat chat widget allows both prospective and existing clients to chat with your business directly from your website. To set up the chat widget, you will have to copy the Wonderchat embed code and then paste it into the footer of your Shopify page.


Step 1: Copy Your Chatbot's Embed Code

Get the Embed Code

  • In a separate window, go to the ↗ .

  • Go the Dashboard > Actions (⋮) > "Embed to website"

  • Copy the embed code

(Optional) Adjust Chatbot Position and Size

For a more detailed guide on how customize your chat widget or page, see the pages below:

How to Embed a Chat Widget

How to Embed a Chat Screen


Step 2: Login to Shopify.


Step 3: Edit Theme

1. Go to "Edit Code"

From your Shopify dashboard left sidebar, go under "Themes" section. Find the theme you want to edit and click on "Actions (...)", then choose "Edit code".

2. Locate the HTML File to Edit

You will be taken to the theme editor. On the left-hand side, you’ll see a list of files. Find the file where you want to embed the chatbot. Typically, this will be the theme.liquid file located under the Layout folder or the footer.liquid file under Sections if you want the chatbot to appear site-wide.


Step 4: Paste the Chatbot Embed Code

1. Find the </body> tag

Scroll down to the section of the code where you want to add the chatbot. You might place it just before the closing </body> tag if you want it site-wide.

2. Insert the copied embed code just before the </body> tag.

Paste the chatbot's embed code you copied from the chatbot platform.


Step 5: Save and Preview Your Store

1. Save Your Changes

After pasting the embed code, click Save in the top-right corner of the Shopify editor.

2. Preview Your Store

Go to your store’s preview page to make sure the chatbot appears as expected.


Step 6: Test Your Chatbot

Ensure the chatbot works properly by interacting with it on your live store. Test the chatbot's functionality across different devices (desktop, tablet, mobile) to make sure it's responsive.


Conclusion

By following these steps, you can easily embed a chatbot widget into your Shopify store to provide real-time customer support and increase engagement. If you run into any issues or need assistance, you can always consult Shopify’s support or Wonderchat team for further help.


If you have any more questions, feel free to reach out to us at support@wonderchat.io

If the chatbot needs to be resized or repositioned, you can modify your changes on the before copying the embed code over.

Log into your Shopify store by going to .

🖥️
Wonderchat App
↗ Shopify Admin
Wonderchat App
Click on “Embed to website”
Click on "Copy to clipboard"
Configure your customizations and preview widget, before copying the embed code over
Click on "Edit code"
Select the "theme.liquid"
Scroll down to find the </body> tag
Paste the copied chatbot embed code just before the </body> tag.
Click on "Save" (top-right corn
Click on "Preview" (top-right corner)
Make sure the chatbot widget appears on the page.
Ensure that Chat Widget is visible
Click on Chat Widget icon to expand for Chat Pop-up