A virtual event is created by combining or setting conditions for one or more base events. While it holds statistical significance, it doesn't represent a real event that actually took place.
Through virtual events, you can perform the following operations:
1) Consolidate Base Events
If you wish to learn the total occurrence of multiple base events, you can group them into a virtual event. As the occurrence of any eligible base events is regarded as a single occurrence of the virtual event, only the total quantity of the virtual event needs to be counted then. For example, events like check-ins, posts, and likes can be unified into a virtual event "active". In the end, the occurrence count of the "active" event will equal the cumulative occurrence count of the three individual events.
2) Count Distinct Values
Virtual events can also help remove duplicate values. For example, you want to know how many users have purchased or registered in the app, and you only want each user counted once, even though they have both registered and purchased. In this case, only the user count for the virtual event needs to be calculated.
3) Avoid Repetitive Operations
If the same filtering conditions need to be applied to an event frequently, the event and filtering conditions can be set as a virtual event. Every time the conditions are met, it is considered as the occurrence of the virtual event.
Select one product - Data Management - Metadata - Events
A virtual event comprises multiple base events. The occurrence of any eligible base events is regarded as a single occurrence of the virtual event.
You can also set up one or more conditions for one or more base events within a virtual event. Only when all conditions are met is it regarded as an occurrence of the virtual event.
All created virtual events will be added to the event list in "Event Management". Their event type will show "virtual events". Clicking on the "Condition" icon will display its generation conditions. You can also modify its conditions flexibly by clicking on "Edit".
1. Calculate Occurrence
As we mentioned before, the occurrence of any eligible base events is regarded as a single occurrence of the virtual event. Hence, the occurrence count of the virtual event = the cumulative occurrence count of its base events.
2. Count Distinct Users
Since virtual events will remove duplicate users, the user count for the virtual event may be less than the total user count for its base events.
Example:
Let's say a virtual event is composed of Event A, Event B, and Event C. The table below shows the statistics for the virtual event, its three base events and five users.
User | Count of Occurrences | Count of Users | ||||
---|---|---|---|---|---|---|
Base Event A | Base Event B | Base Event C | Virtual Event | Total Users | Total Distinct Users | |
User 1 | 2 | 1 | 3 | 2 | 1 | |
User 2 | 1 | 1 | 1 | 1 | ||
User 3 | 3 | 3 | 1 | 1 | ||
User 4 | 0 | 0 | ||||
User 5 | 1 | 2 | 3 | 2 | 1 | |
SUM | 3 | 3 | 4 | 10 | 6 | 4 |
Results:
After creating virtual events, you can select them for analysis in analysis models, and calculate their totals, distinct user count, or triggered times per user, etc. There will be a "virtual" icon behind them in order to distinguish them from base events.