Skip to content

Shopify Online Customer Service Integration Instructions

1. Create a Standalone Customer Service

  • Enter Personal Center
  • Click to enter Standalone Customer Service
  • Click Create
  • Enter Website Domain
  • Enter Website Title
  • Enter Customer Service Public Nickname
  • Enter Customer Service Public Introduction
  • Select and set avatar, the aspect ratio of the avatar needs to be 1:1
  • Click Save
  • Copy Customer Service Link
  • Concatenate Customer Service JavaScript Code

帖子

帖子

The copied link is similar to this https://help.kechacha.com/chat/xchat.js?u=928814

帖子

Assuming your customer service link is

https://help.kechacha.com/chat/xchat.js?u=928814

The concatenated Customer Service JavaScript Code

<script type="text/javascript" src="https://help.kechacha.com/chat/xchat.js?u=928814&t=1.0.0"></script>

Where t=1.0.0 is used to specify the version number of the customer service code. If the customer service system is upgraded later, just change the value here, such as t=1.1.0

Log in to Shopify and enter the "Online Store - Template" module

  • Click the [...] button on the right side of the page;
  • Select [Edit Code];

帖子

  • Open the [theme.liquid] file in [Layout] and paste the JavaScript code before /body. Click Save to install successfully.

帖子

3. Add Agent

The above operation will only add the creator of the standalone site as an agent by default. If you want to add multiple agents, follow the instructions in the following figure.

Each agent is a valid GTM account. To activate an agent, please contact customer service to set a reasonable validity period for your agent account.

帖子

帖子

帖子