Configuring the Click to Connect Token

Using the Live Help On Demand Engagement Engine Editor create the following rule that will save Click to Connect information and pass the token to Commerce Service Center. This rule configures the following information:

clickToConnectSave() - The clickToConnectSave() function is a JavaScript call that is located on each page of your customer-facing site. The function persists both order and token information in Commerce Service Center. The clickToConnectSave function is created automatically when you run page instrumentation and does not need to be added manually to every page. However, the clickToConnectSave function can also be configured using the Live Help On Demand Engagement Engine Editor.

ATGCallToken - When the customer clicks the Click-to-Call link or button, a unique token ID is generated and stored using the clickToConnectSave function. This token, which is stored in the _atg_estara_call_token identifies the information that the customer was viewing.

For additional information on creating rules, refer to the Live Help On Demand Engagement Engine Editor documentation.

Creating the Rule

Log into Webcare.

Note: In order to log into Webcare, you must have an existing account.

From the Setup menu, select Engagement Engine Editor.

Click the Add a New Rule button.

In the Name field enter ClickToConnectSave.

Set the Rule Evaluation Order to 2.

In the Do This section, select Custom Data and then Populate from JavaScript Variable.

Set the Populate Custom Data Dropdown to 1, and enter the name of the call token, which is _atg_estara_call_token.

Create another Do This action. Select Custom JavaScript and then Run Custom JavaScript. Enter clickToConnectSave() and select the JavaScript Function radio button.

Add a condition that sets Live Help: Invitation. Add the Click-to-Call link you created earlier and select Has Been Offered in the drop down menu.