Events

When triggered, an event is a situation or condition that is identified in data that is captured by Discover that causes an action. An event definition specifies the hit attribute or other data that must appear in the request, response, or session as a whole.

Using an event, you can detect and report on one or more conditions that occur in a single session. Events do not work across multiple sessions.

An event is defined as a combination of a trigger, a condition (such as a matching hit attribute), and an action. For example, an event can be configured to trigger at the start of a page to look for a specific set of HTML tags in the response and, if the tags are found, to store the value in between the tags.

A Discover event can be the appearance or absence of a specific data element or value in the request or the response. Resulting actions can include setting values and generating alerts.

Some events are specific to a hit, while others can be processed only with the entire session in hand. As each hit is added to a session in the Short-Term Canister, event definitions are compared against the data in the hit. When a session ends and is written to the Long-Term Canister, events that are associated with an entire session are evaluated.