The ADC processor pipeline is responsible for inserting calls to the Click-to-Call JavaScript libraries. To enable the ADC processor pipeline, the web.xml file for store.war includes the following:


These settings specify that the atg.filter.ConditionalDelegatingFilter should run the atg.adc.filter.ADCDataInsertFilter if it is present. The ADCDataInsertFilter invokes the ADC processor pipeline. The filter is part of the ADC module, which is automatically included in the assembled EAR file when you specify the DCS.ClickToConnect module.

The processor pipeline inserts in the <head> tag of the HTML page calls to scripts for importing the Click-to-Call JavaScript libraries:

<script type="text/javascript" src="//"></script>
<script type="text/javascript" src="/clicktoconnect/scripts/c2c.js"></script>

In addition, the pipeline inserts a script in the <body> tag of the page that specifies variables that are used by Click-to-Call. For example:

<script type="text/javascript">
if(ATGSvcs != null) {
var _atg_estara_call_token = "c2c4.5.0.SOYqEhmXS70R3LhAt1hmUPJRYXg";
var _atg_estara_locale = "en_US";
var _atg_estara_site = "storeSiteUS";

The _atg_estara_call_token variable is used to associate the customer’s session with the information displayed to the customer service agent. The other variables make it possible to vary Click-to-Call behavior based on the current locale and site.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices