This source code will be automatically shipped when you place an order (demo site packaging file). We do not provide any form of free modification services, server configuration, website integration, code conversion, etc. Please fully understand your ASP language skills before placing an order.
Demo front end: http://aspcms.kelubo.net/kf/
Demo backend: http://aspcms.kelubo.net/kf/admin.asp
Note that in order to highlight the reception source code, the demo page deliberately only retains the customer service part. If you want to see the effect of integrating it into the website, you can visit the effect of integrating it into the website: http://aspcms.kelubo.net
This source code contains an independent database and can be run independently, but its main purpose is to be connected to your website to implement WeChat online customer service functions.
After the website is connected, you can achieve:
1. When a visitor visits the website, the WeChat mobile phone will immediately receive a notification that someone has visited the website. Click to actively greet the visitor immediately;
2. When a visitor actively initiates a consultation, the customer service will be notified immediately on WeChat, and the customer service can immediately establish a dialogue with the visitor.
Configuration tutorial 1. Follow the public account [One Public] on WeChat, Member Center - Webmaster Code Column to register your website domain name and obtain the id and openid 2. This source code must be accessed using the domain name. It is not suitable for localhost or IP access testing. Due to WeChat The port will not be able to access your URL correctly. 3. Visit the source code about.asp, fill in your website domain name and the ID and openid obtained above. The system will automatically write the corresponding data to the database and kfid.asp file 4. Visit index.html , you can see the effect demonstration. Integrated website tutorial 1. Place this source code folder in the root directory of your website to ensure that your domain name/kf can be accessed. 2. Reference the head.html file to the page that requires customer service functions. , or copy the code of this page to your header or footer file 3. Line 11 of head.html must be modified to your own ID number 4. Remember not to modify the URL containing wx.kelubo.net in all source codes. This is the interface aspcms kernel integration method. 1. Add a reference to kfid.asp in the header of the file in the root directory /inc/AspCms_Mainc-lass.asp. Add the global definitions of kfid and yuming below for the template static file head.html to call. 2. In Add the calling logic description of head.html to the template file 1. Visitors visit index.html or the page containing head.html, and automatically obtain the visitor’s source URL, IP, local city, current URL and other information, and assign an identification code (stored in Cookies), ajax silently submits it to the back-end file jilu.asp and enters it into the database. If the visitor identification code already exists, update the last access time and add a footprint record. If it does not exist, create a new access record and push it to customer service. New visitor visit notifications. Currently, in order to avoid harassment and prevent WeChat officials from misjudgment and spamming of information, old visitors will not notify customer service when returning. If necessary, they can modify the notification within a few hours when they visit again. 2. A reply will automatically pop up after the visitor has been on the page for 1 minute. Window (time is set in the shangqiao.js file) 3. Every 5 seconds, the visitor’s online status is updated, which is used by the website customer service to identify whether the visitor is offline. 4. When a visitor initiates a consultation, ajax is submitted to the jilu.asp page without refreshing, to achieve Non-refresh display and record saving of the consultation page and push to customer service WeChat
Front-end web interface
Customer service mobile WeChat interface
Backend management interface