“How to add a chat to a Shopify site to quickly respond to customers?” is a common question among store owners. They aim to improve service quality and reduce response time. This is possible thanks to TheChatify — an AI consultant that works 24/7. All that’s left is to integrate it into Shopify.

The process of adding chat to Shopify is quite simple. You need to insert the script into the theme.liquid file. This allows your store to interact with customers instantly. As a result, you get an effective communication channel where responses come automatically or are forwarded to a manager.

To avoid mistakes, it’s important to follow the instructions. Incorrectly inserting the code or failing to clear the cache can lead to malfunctions. Therefore, this article covers not only a step-by-step guide but also common mistakes and ways to fix them. This will help you quickly connect the chat without unnecessary difficulties.

  • Step-by-step guide to adding chat to Shopify.
  • List of common mistakes and how to fix them.
  • Alternative methods of chat integration.
  • Recommendations for setting up TheChatify for your store.

Contents

What you need to add chat to Shopify

To add chat to a Shopify site, you need a Shopify account with access to edit the theme. This allows you to make changes to the store's code. To do this, log into Shopify, go to a section like “Online Store → Themes,” and check if you have editing rights. If not, contact the administrator.

You will also need access to TheChatify to obtain the script. After registering with TheChatify, log into your account where you will find the script that needs to be inserted into your site. Copy this line of code — this will ensure the chat works.

Basic coding skills

To insert the script into theme.liquid, basic coding skills are required. If you have worked with HTML or CSS before, this will not be difficult. Insert the script before the closing tag </body> on all pages. This ensures the chat displays on all pages of the store.

For example, after inserting the script into theme.liquid, save the changes. If the chat does not appear, check the correctness of the code insertion and the absence of conflicts with other scripts. Attention at this stage will help avoid problems and ensure the chat works correctly on the site.

Step-by-step guide: inserting the script into theme.liquid

  1. Log into the Shopify admin panel. Go to a section like “Online Store → Themes → Edit code.” This will allow you to change your theme's code.
  2. Before making any changes, make a copy of your theme. This will create a backup so you can revert to the original state in case of an error.
  3. In the file list, find the theme.liquid file. This is the main file where you will insert the chat script.
  4. Scroll to the bottom of the theme.liquid file and find the closing tag </body>. Insert the chat script before this tag. This ensures the chat loads on all pages.
  5. Save the changes by clicking a button like “Save.” This will save your changes to the theme.
  6. Check the chat functionality on your site. Open the site in a new tab and ensure that the chat displays and functions properly.

Common mistakes

  • No backup of the theme was made. Always make a backup before making changes to avoid data loss.
  • The script was not inserted before the closing tag </body>. Check if the script is in the correct place for the chat to load properly.
  • Changes were not saved. Make sure you clicked “Save” after making changes to theme.liquid.
  • Browser cache was not cleared. Clear the cache if changes are not displaying to load the updated version of the site.
  • The script contains errors. Check if the script was copied correctly and fix any syntax errors if present.

Alternative Methods for Adding Chat

Method Advantages Disadvantages
Inserting script in theme.liquid Basic integration, speed Requires code editing
Using third-party apps Ease of installation Possible additional cost
Integration via GTM Flexibility of settings Requires knowledge of Google Tag Manager
Manual HTML insertion Control over placement Possible coding errors
Using API Advanced features High technical complexity

The table above helps you choose a method for adding chat, considering your technical skills and budget. For example, if you have no experience with code editing, using third-party apps would be the optimal choice. This allows you to quickly set up chat without additional skills.

Inserting the script in theme.liquid is suitable if you are ready to edit code. This will ensure fast integration but requires caution. Integration via GTM provides flexibility but requires knowledge of the platform. For control over placement, manual HTML insertion is suitable, but the risk of errors increases.

If your business requires advanced features, such as integration with CRM, consider using API. However, this is suitable for those willing to invest in technical resources. The choice depends on your priorities and resources.

Common Mistakes When Adding Chat and Their Diagnosis

Error Cause Solution
Chat not displaying Script inserted incorrectly Check the script insertion location
Chat not working on mobile Browser caching Clear site and browser cache
Chat works with errors Conflict with another script Disable other scripts for testing
Chat not appearing on all pages Script inserted only on the homepage Ensure the script is on all pages
Chat not updating Outdated cache version Update site cache

The table helps quickly identify the cause of chat issues on Shopify. For example, if the chat is not displaying on mobile devices, check browser caching. Clearing the site and browser cache can resolve the issue.

When the chat does not appear on all pages, it is likely that the script was inserted only on the homepage. Ensure that the script is present in the theme.liquid file on all pages. This will ensure stable chat operation across the entire site.

Using the table, you can quickly diagnose and fix problems. This will save time and improve the efficiency of your online store. Additional tips can be found in the WordPress guide.

Setting Up a Knowledge Base for Your Store in TheChatify

To ensure that the AI consultant TheChatify responds correctly to customer inquiries in your Shopify store, it is important to set up a knowledge base. Start by adding information about shipping, payment, and returns. For example, if a customer asks: "What is the shipping cost within Ukraine?", the bot should be able to respond: "Shipping within Ukraine costs 50 UAH, but it's free for orders over 1000 UAH". This will reduce the workload on managers and increase customer satisfaction.

Setting Up Greetings and Tone of Communication

After the basic information, set up greetings and the tone of communication. The greeting should be friendly and match your brand's style. For example, "Welcome to our store! How can we assist you today?". Choose a tone that reflects your brand: from formal to informal. This will help establish the right context for the conversation. Greetings and tone can be adjusted in TheChatify settings to match seasonal promotions or changes in your store.

Using AI for Automating Responses

With the AI capabilities in TheChatify, you can automate responses to common questions, such as order status or product availability. For example, if a customer asks: "Do you have red sneakers in size 42?", the bot can check your site data and respond: "Yes, red sneakers in size 42 are available. Would you like us to reserve them for you?". This not only saves time but also enhances the customer experience by providing quick and accurate responses.

Remember that AI handles most routine tasks, but more complex questions can be passed to a manager. If the bot does not know the answer, it automatically forwards the question to a human. This ensures continuity of service and allows managers to focus on resolving more complex issues. As a result, your store gains more leads and satisfied customers who receive quality support.

Tips for Setting Up in TheChatify

Customize the bot's name and greeting

Personalize your AI consultant in TheChatify by giving it a name and greeting. This creates a sense of live communication. For example, name the bot "Master Consultant." The greeting could be: "Hello! I am Master Consultant. How can I assist you today?" Use a tone that matches your brand to emphasize its uniqueness. This can be configured in a section like "Settings → Bot."

Select the communication language

TheChatify supports multiple languages, allowing you to serve customers from different countries. For example, if your store targets the Ukrainian market, choose the Ukrainian language. This makes communication more convenient for customers. To change the language, find the option in the settings like "Communication Language." Check that all automated responses display correctly after the change.

Add quick question buttons for convenience

Quick question buttons make navigation easier for customers. Add them to answer the most common inquiries. For example, create buttons for "Delivery," "Returns," "Contacts." A customer clicking on "Delivery" might receive the response: "Our delivery terms: free for orders over 1000 UAH. Delivery time: 2-3 days." This reduces the workload on managers and increases service efficiency. Button settings are usually available in the "Quick Questions" section.

Using these tips will help configure TheChatify to become an effective tool for your business. Personalization, language adaptation, and ease of use make communication with customers as comfortable as possible.

Frequently Asked Questions

How to insert the chat script in Shopify?

To insert the chat script in Shopify, open the "Online Store" section in your admin panel. Go to "Themes" and select "Edit Code" for your active theme. Find the theme.liquid file and insert the script before the closing tag </body>. Save the changes. Check the chat display on the site.

Can TheChatify be used with Shopify?

Yes, TheChatify supports integration with Shopify. To connect, specify your site address in TheChatify so the system can read the pages. Then add a line of code in your store's theme.liquid. After that, the chat will be ready to work.

What errors occur when adding chat to Shopify?

Common errors include incorrect script placement or forgetting to save changes in the theme.liquid file. There may also be cache issues—after changes, it needs to be cleared. Check that the script is inserted before the closing tag </body>.

How to set up a knowledge base in TheChatify?

In TheChatify, you can set up a knowledge base for your store by adding website content, documents, and company texts. This will allow the AI consultant to respond to customer inquiries 24/7. You can also add your own instructions and customize the greeting, tone, and communication language.

What to Start with Today

  1. Register on TheChatify platform and specify your site address or chosen messenger. This will allow the system to automatically read the pages and prepare the AI for work.
  2. Test the bot's performance by asking a few questions that your customers usually have. This will help you ensure that the responses are accurate and complete.
  3. Set up notifications in Telegram to receive new leads and manager inquiries in real-time. This will ensure a quick response to customer requests.
To get started with TheChatify, register here.

Also Read