OpenCart 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 name
- Enter website title
- Enter the customer service's external display nickname
- Enter the customer service's external display introduction
- Select and set the avatar, the aspect ratio of the avatar needs to be 1:1
- Click Save
- Copy the customer service link
The copied link is similar to this https://help.kechacha.com/chat/xchat.js?u=928814
2. OpenCart Store Integration Customer Service Link
After logging in to OpenCart, in the store list of 'System'-'Setting', click the edit button on the right to enter the edit page.
In the edit page, select 'server', and scroll down to find the 'Google Analytics Code' option, paste the customer service code in the corresponding input box. The customer service code can be spliced in the following way, and save it to successfully install.
Assuming your customer service link is
https://help.kechacha.com/chat/xchat.js?u=928814
The spliced customer service 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
Finally, copy the above spliced customer service code into Google Analytics Code and save it
If you have already set the Google Analytics Code access code (non-customer service code), just append the customer service code to the end of the content.
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.