|
Adding LiveTrax Stealth with JavaScript to your Web pages |
|||
|
You can add the LiveTrax Stealth with JavaScript to your webpages by adding the following pieces of code in the webpages which are to be enabled with this feature: Step 1: Include file "tracking.js" into the page in which you want to install the LiveTrax with JavaScript feature (customize the path to the javascript file if needed). For example,
Step 2: Insert the javascript part: For example, if you add the following piece of JavaScript code into your web page, it will notify a group of Agents called "Sales":
Here, the three parameters are: (1) "group": This can be either "group" (if the button is a call routing button attached to a group) or "agent" (if the button is linked to a particular agent). (2) "agents": This is the name of the group or the agent connected to the tracking system. You need to put the name of the group or agent within double quotation marks. (3) "Main Page": This is the name (description) of the page where the JavaScript Lite trax is located. You should put the name of the page within double quotation marks. |
|||