Unica NetInsight uses web access log files as data source to perform the analysis. To capture all the user visit data, end users need put Unica Page Tag Javascript snippet at their JSP code. The JavaScript will capture the default user behavior, and provide extended APIs for customer for customization. BTT page tag is one of the customization JavaScript that uses the APIs to capture the BTT specified information to web access log file.
BTT application access path has its own characters, which is single URL, all request to BTT application will be like www.btt.com/appname/request. While the real transactions and pages are submitted by form hidden field, Unica page tag could not track this and need customer write javascript-based Unica Netinsight to capture the real access path and other parameter.
Without the customization, the WWW access is hard to distinguish them raw log. in order to help customer fast track BTT applications, BTT provides the BTT Pag Tag that enrich Unica Page Tag functions to track BTT application path.
The BTT page tag extends Unica Netinsight page Tag, uses ntptEvent API to store the path and event name. Also the source was attached to help customer understanding the approach and capture their own properties.
BTT Page Tag usage is similar as Unica NetInsight Tag, see following code snippet:
Put the javascript file location in your JSP file and it’ll auto track the WWW access.
<body class="claro" style="visibility:hidden"> <#if js_file??> <script type="text/javascript" src="${js_file}"></script> </#if> ${content} <script type="text/javascript" src="scripts/ntpagetag.js"></script> <script type="text/javascript" src="scripts/bttpagetag.js"></script> </body> </html>
<p>NTPT_IMGSRC = 'http://Your Unica Log Site/ntpagetag.gif';</p>
<p>NTPT_FLDS.lc = false; // Document location</p>
Property | Description |
---|---|
BTT_EVENT | The BTT_EVENT property specifies whether you need to record direct, internal or ajax server call or not. The default value is "true". |
BTT_REMAPURL | The BTT_REMAPURL property specifies whether you need to remap BTT URL to another meaningful URL or not. BTT suggest to set "true" as value. The default value is "true". |
BTT_EXTRAPARAMS | The BTT_EXTRAPARAMS property specifies whether you need to capture all BTT parameters for further analyze or not. These parameters store in form hidden field or link URL. Default value is "true". |
BTT_ID_OPNAME | The BTT_ID_OPNAME property specifies the default identifier to capture BTT operation name. The default value is "dse_operationName". Do not change this value until you overwrite BTT channels logic. |
BTT_ID_STATE | The BTT_ID_STATE property specifies the default identifier to capture BTT operation state. The default value is "dse_processorState". Do not change this value until you overwrite BTT channels logic. |
BTT_ID_PAGE | The BTT_ID_PAGE property specifies the default identifier to capture BTT page sequence. The default value is "dse_pageId". Do not change this value until you overwrite BTT channels logic. |
BTT_ID_REQUEST | The BTT_ID_PAGE property specifies the default identifier to capture BTT server URL. The default value is "Request". Do not change this value until you overwrite BTT channels logic. |