Function Introduction
After adding a chat plug-in to your independent website, you can automatically reply to visitor messages on your independent website page without jumping to other pages, thereby increasing the chat order rate; not only that, you can also add a drainage component to the chat plug-in, and visitors can jump to the corresponding drainage channel to start a conversation with just one click, thereby achieving the gain effect of drainage marketing and diversion Q&A.
It can be seen that adding a chat plug-in can solve many customer service demand scenarios. This article will explain how to add and edit a chat plug-in.
Operation process
1. Add a chat plugin
In Integration > Click Chat Plugin > Click Add Plugin to enter the edit and add interface.
2. Edit chat plugin
Entering the chat plug-in editing interface, you can see that it is mainly divided into two areas. The left side is the setting area, which includes: style settings, information survey, advanced settings, and portal integration; the right side is the preview area.
When you are editing a chat plug-in in the settings area, you can preview the plug-in style you edited in real time in the preview area on the right, making it easier for you to edit the plug-in.
The following will introduce the contents of each partition of the setting area in detail in conjunction with the preview area.
2.1 Style settings
Style settings: design the style of the plug-in, including plug-in name, chat background box color, avatar, window title, window subtitle, language, plug-in location, etc.;
• Plugin Name: refers to the name of the plugin (only for customer service).
• Theme color: You can customize the main background after the plugin is expanded, as shown in the figure below.
• The merchant logo: refers to the avatar on the left side of the title above the plug-in.
• Robot avatar: refers to the robot’s avatar when replying to visitors.
• Language: You can set the language of the prompts in the plug-in, including the display language of prompts, button names, error feedback, etc.
• Entrance and chat window position: You can set whether the plug-in/sidebar is displayed on the left or right side of the website.
• Dialog window title: refers to the title above the plug-in.
• Conversation window subtitle: It is located below the window title and serves as an auxiliary supplementary description. It can be customized.
The subtitle of the conversation window also supports switching to display the subtitle content based on whether the customer service is online.
• Notice board: You can set up content that customers need to pay attention to, such as preferential advertisements, manual service hours, etc. to be displayed on the notice board. You can also set personalized settings such as the color and content link of the notice board to help you achieve precision marketing.
• Mobile chat display: You can set whether to fill the mobile phone screen when the mobile chat window is expanded.
• Custom icons: There are two types of icons: default icons and selected icons. The default icons refer to the style when the mouse is not hovering over them; the selected icons refer to the style when the user hovers over or clicks the icon. The system comes with a default style, as shown on the left side of the figure below. You can customize two styles.
• Icon size: refers to the size of the chat plug-in displayed on the page. You can set it in three styles: small, medium and large.
• Bottom distance: refers to the height of the plug-in/sidebar from the bottom of the website, which can be set from 0px to 500px.
• Entry icon collapse: By default, the icon is not collapsed, as shown in the upper left corner of the figure below; enable icon collapse and the user can fold the icon; you can set two styles, collapse to a sidebar or collapse to a single icon.
• You can also edit the sidebar text and set separate display styles for PC and mobile.
2.2 Information investigation
Information investigation: By setting up " pre-chat investigation " and " offline information retention ", you can collect the user's name, mobile phone number, email address, etc.
• Pre-chat survey: After you enable the pre-chat survey, your visitors will need to fill in the survey information you set when they open the chat window. Only after filling in the information can they send messages to you;
• Offline information retention: After turning on offline information retention, when there is no customer service online, you need to fill in the survey information you set, and only then can a message be sent to you.
Comparing the two, pre-chat survey tends to require customer information to be left before starting a conversation, while offline information retention tends to be a means of collecting customer information when there is no customer service online.
Both the pre-chat survey and offline information retention support adding up to 4 fields, including email, name, company name, and mobile phone number. You can also set whether it is a required field. Click the cross on the right to delete or adjust the field.
• Leave information button: After it is turned on, a leave information button will appear in the chat window, and visitors can click it to fill in the information.
• Forced pop-up: When turned on, visitors cannot close the information window on their own and are forced to fill in the form (if not turned on, visitors can choose to close it on their own and skip leaving information).
2.3 Advanced settings
You can set the plug-in display settings, and set up unread message previews and conversation transfers to humans, etc.
• Unread message preview: When turned on, when your chat plug-in is not expanded, the first unread message of the visitor can be displayed next to the icon. It can support displaying the first unread message or the latest unread message.
• Plugin display settings: When you install a plugin on your independent website or web page, the plugin will be displayed on all pages of your independent website by default. You can use the display configuration to configure which pages need to display the plugin and which pages do not need to display the plugin. The same applies to mobile terminals.
• Automatically expand: You can set the time after which the chat window will automatically expand after the user enters the website so that the user can inquire about the product immediately, as well as intelligent settings such as automatically opening the chat window for new users.
• Window state: When a visitor closes your website or switches to another website and then returns to your website, the chat plug-in window remains in the previous expanded or collapsed state.
• Transfer to human button: If you have turned on the robot's automatic hosting function, visitors will be received by the robot first. When the visitor received by the robot expands the chat window, a Transfer to Human button will be displayed. The visitor can click it to switch the conversation from the [Robot] state to the [Unassigned] state.
2.4 Entry integration
You can display multiple chat widgets on a web page, including our customer service plug-in, messenger, Line, Whatsapp, Email, etc., which will display the chat widget on the web page below to help you achieve the effect of attracting traffic.
2.5 Save
After editing the chat plug-in, click Save to complete the editing.
3. Install plugins
Once you have set up the plugin, you can install it on your website as follows:
• If you build your site, you can install SaleSmartly on your website through JavaScript code
3.1 Copy code
• In [ Integration] - [Chat Plugin ], select the plugin you want to install from the list and copy its code;
• Or you can view the code by clicking Install to Website in the upper right corner of [ Integration] - [Chat Plugin ] - [ Edit Plugin ].
3.2 Install SaleSmartly on your site
After accessing the server where the site is hosted, find the file containing the tag (usually index, please consult the site's development engineer for details), open the file, paste the JavaScript code before the tag, save the changes and the installation will be successful.
• You can install the plugin on various sites, including Shopline, Shoplazza, Shopify, Shopyy, etc. For details, see:
How to install SaleSmartly on a standalone website
The following shows you how to install SaleSmartly in your ShopLine app store, and the same goes for other independent sites:



