Automatic page instrumentation allows you to automatically tag each of your customer-facing store web pages with the eStara JavaScript library references, as well as to output other parameters that are used for data persistence purposes without changing any code for your site. When configuring automatic page instrumentation, you set the page instrumentation filters that are used to add the eStara code to your pages.

The page instrumentation engine writes JavaScript variables to the web page. These variables are used to identify the customer’s environment and to store information that allows you to create customized rules that display links and pop ups based on specific criteria. For example:

var _atg_estara_call_token=100001-1234;
var _atg_estara_locale=en_US;
Adding Automatic Page Instrumentation

To add automatic page instrumentation, add the following to your customer-facing store’s web.xml file:


loading table of contents...