The Distance Between event condition quantifies (by screenviews) the distance between the first occurrence of two specified events. When you use the Distance Between condition as an event value, Acoustic Experience Analytics (Tealeaf) ready-to-use metrics like max, min, average, count, and sum are generated automatically and you can use them directly in your reports.
For example, you might want to know the number of screenviews that occur between the event that fires when a visitor views an item and the event that fires when they purchase that item. If there are many screenviews between the two events, it might indicate that the application doesn't provide the most direct path from viewing an item to purchasing the item. There might be an opportunity to minimize the distance between viewing and purchasing.
Here is an example of how you can use the Distance Between event condition to quantify the screenviews that occur between the event that fires when a visitor views an item and the event that fires when they purchase that item.
- Set an event condition to fire when a customer views a product on your website.
- Set a second event condition to fire when the customer purchases the product from your website.
- Select Distance Between as a condition between the two firing events.
The Distance Between condition captures the screenviews that occur between viewing the product and purchasing the product.
For the Distance Between condition of each event, you can specify whether the condition exists or does not exist on the hit, step, or in the session. When you specify Exists on Hit or Exists on Step, the distance is calculated only when the event fires on the current hit or current step. Otherwise, the fired events are ignored. Using Exists on Hit or Exists on Step can be useful when you need to track all occurrences of a distance event.
You can look at the value generated from the Distance Between condition, and determine if the number of screenviews between the two events is higher than expected. If it is, you can notify the application developer and they can redesign the application to shorten the distance between viewing a product and purchasing the product.