Tealeaf provides a building block event that detects for the presence of a ReqCancelled hit: Req Cancelled [BB-NoDim]
. As a building block event, it is not searchable.
Following are some general steps for creating the event object to track request canceled hits:
- Log in to the Portal as an administrator.
- From the Portal menu, select Configure > Event Manager.
- Click the Events tab.
- Click New Event.
- Configure the following properties:
- Name Suggest
Req Cancelled Type
- Description Suggest
Type of canceled request: client or server
. - Evaluate Set to
Every Hit
. - Track Set to
First Per Session
, even though this is for a hit. - Value Type Set to
Text
.
- Name Suggest
- Leave the other values as their defaults. Click the Condition step.
- In the left panel, click the Events category.
- Click Standard Events.
- Select ReqCancelled [BB-NoDim]. The event is added as a condition to your
Req Canceled Type
event definition.- From the first drop-down in the added event condition, select Value.
- From the condition operator drop-down, select
Equals
. - In the third textbox, enter server.
- Leave the case-sensitive check box cleared.
- From the left panel, select ReqCancelled [BB-NoDim] again.
- Populate it as above, except in the third textbox enter client.
- In the drop-down at the top of the main configuration panel, select:
Any of the following conditions must be met
- The Condition step is configured to test for the presence of either event condition.
- Click the Value tab.
- Click Select Item to Record.
- In the Select Item dialog, click the Events category.
- Click Standard Events.
- Select the
Req Cancelled [BB-NoDim]
. - Leave the drop-down value as
Value
. - The Value to record is configured to be the value of the
Req Cancelled [BB-NoDim]
, which is set toserver
orclient
if either of the event conditions is met.
- You must configure the other steps of the event definition as needed for your environment.
- Click Save Draft.
- In the Events tab, click the Save Changes to commit the new event to your server.
Searching for Sessions with ReqCancelled Type
The event mentioned above is now defined to record the value client
or server
if a request is canceled by the visitor or by the web server. Through the Portal, you can search for occurrences of this event.
Note: After the event is saved to the server, it is active and being processed on each hit. It can take some time before sessions with canceled requests are captured and processed by Tealeaf.
To search for the ReqCancelled Type
event, do the following steps:
- In the Portal, select Search > Completed Sessions.
- To search for the occurrence of a ReqCancelled hit in a session:
- Clear any of the default search terms.
- Click the Events search term.
- Click <select an event.
- In the Event Selector, clear the View by Labels check box.
- In the Search box, enter Req Canceled.
- Select
Req Canceled Type
. - Click Select.
- Your search for the existence of the event in a session is displayed.
- To search for a specific type of ReqCancelled hit in a session:
- Clear any of the default search terms.
- Click the Event Values search term.
- Click <select an event>.
- In the Event Selector, clear the View by Labels check box.
- In the Search box, enter Req Canceled.
- Select
Req Canceled Type
. - Click Select.
- In the search term, verify that the search operator is set to
Includes
. - In the textbox enter one of the following values:
server
- search for server-initiated ReqCancelled hitsclient
- search for client-initiated ReqCancelled hits
- Your search for a specific type of ReqCancelled hit in a session is displayed.
- To run either search, click Search.
- From the displayed list of sessions, you can select one to review for more information. If sessions are returned, you can locate the hit where the ReqCancelled occurred by using the following general methods:
- Event Tester: From the session list, you can send the session to Event Tester. In the Event Tester, select the
Req Canceled Type
event to display. In the test results, you can locate the hit where the event occurred. - QuickView: From the session list, you can open QuickView, which displays event information by hit. From the Order By drop-down, select
Event Name
. Locate the hit where theReq Canceled Type
event occurred.
- Event Tester: From the session list, you can send the session to Event Tester. In the Event Tester, select the