Hit attribute reference

This section lists the hit attributes provided by Discover. Hit attributes only pertain to the current hit.

  • Hit attributes are only available in the following triggers: First Hit, Last Hit, Every Hit.
  • To retain specific hit attribute values across multiple hits and event triggers, you must store the hit attribute value in a session attribute, which is available through the session object and is stored with the session data.
  • In EventEngineScripting, references to hit attributes begin with $H.*. Regarding creating event objects in Advanced mode, pattern objects differ from hit attributes.
  • Hit attributes gather data from other data sources within the Canister for the current hit.
  • Like user-defined hit attributes, pattern objects use start and end tags to identify data in the request or response.
  • In Basic Mode in the Event Manager, these object types are indistinguishable when listed in the Hit Attributes tab. See Manage Events - Hit Attributes tab.
Table 1. Hit Attribute Reference - Name space = TL
Internal Name JavaScript™ Variable Type Display Name Source Type Name of Source Description
H_CONN_SPEED Conn Speed int Connection Speed PATTERN TL.CONN_SPEED Connection speed in bytes/second
H_CONN_TYPE ConnType ansistring Connection Type PATTERN TL.CONN_TYPE Connection speed category. Example: T1
H_CONTENT_ENCODING Content Encoding string Content Encoding PATTERN TL.RESPONSE_TYPE Content encoding format of response. Example: text/html; charset =ISO-8859-1
H_GEN_TIME GenTime int Hit Generation Time (sec) PATTERN TL.WS_GENERATION Time in microseconds between server receiving request and starting to send response. Formula: (Rsp Start Time Epoch - Req Time Epoch)
H_IS_CUI IsCUI boolean Client UI Hit (T/F) CALCULATED_SOURCE Client user-interface hit (T/F). Requires Discover UI Capture.
H_NETWORK_TRIP Network Trip int Network Time (sec) PATTERN TL.NT_TOTAL Time in microseconds between server starting to send response and client acknowledges response. Formula: (Rsp ACK Time Epoch - Rsp Start Time Epoch)
H_NUMBER Hit Number int Hit Number in Session CALCULATED_SOURCE Hit number in session
H_PERFORMANCE_ RENDER_TIME Performance Render Time int64 Perfor- mance Render Time (ms) CALCULATED_SOURCE Time in milliseconds it took the page to complete rendering. This does not include the page load time. Requires Discover UI Capture.
H_QUERY_STRING Query String string Query String for Request PATTERN TL.QUERY_STRING
H_REFERRER Referrer string Hit Referrer PATTERN TL.HTTP_REFERRER Referrer value for hit
H_REQ_CANCELLED Req Cancelled bool Req Cancelled PATTERN TL.REQ_CANCELLED
H_REQ_DISCARDED Req Discarded bool Req Discarded PATTERN TL.REQ_DISCARDED
H_REQ_SIZE ReqSize int Req Size (bytes) PATTERN TL.REQUEST_SIZE Size in bytes of request data + request header
H_REQ_TIME_EX Request TimeEx int Req Time Epoch (?sec) PATTERN TL.REQUEST_TIME_EX Time epoch in microseconds when server receives request
H_ROUND_TRIP RoundTrip int Round Trip Time (?sec) PATTERN TL.RT_TOTAL Time in micro- seconds between server receiving request and client acknowledging response. Formula: (Rsp ACK Time Epoch - Req Time Epoch)
H_RSP_ACK_TIME_EX Response AckTime Ex int Rsp Ack Time Epoch (?sec) PATTERN TL.RESPONSE_ACK_ TIME_EX Time epoch in microseconds when client acknowledges response
H_RSP_SIZE RspSize int Rsp Size (bytes) PATTERN TL.RESPONSE_SIZE Size in bytes of response data + response header
H_RSP_START_ TIME_EX Response StartTime Ex int Rsp Start Time Epoch (?sec) PATTERN TL.RESPONSE_START_TIME_EX Time epoch in microseconds when server starts sending response
H_RSP_TIME_EX Response TimeEx int Rsp End or Hit Time Epoch (?sec) PATTERN TL.RESPONSE_TIME _EX Time epoch in microseconds when server ends sending response
H_STATUS_CODE StatusCode int Status Code PATTERN TL.STATUS_CODE Status code of response. Example: 200
H_TLAPI_ARRIVAL_TIME_EX TLapi Arrival TimeEx int64 TL API Arrival Time Epoch (?sec) PATTERN TL.TLAPI_ARRIVAL_TIME_EX Time epoch in micro- seconds of hit arrival, as reported by the Discover API
H_TLTHID TLTHID ansistring Hit GUID PATTERN TL.TLTHID
H_TYPE HitType int Hit Type PATTERN TL.CAPTURE_TYPE Hit and Capture Type
H_URL URL string URL PATTERN TL.URL URL of hit, without normalization, as reported in the browser