Feature Availability
- Computed Events are available exclusively on the Enterprise plan for Wingify Web Testing, Personalize, and Feature Experimentation.
This article covers the following:
Overview
Computed Events in Wingify Data360 help you create a new event by combining two or more existing events and applying filters when needed.
For example, you can track both In-store purchases and Online purchases using a single computed event, Total Sales Revenue. This saves you the trouble of changing your site’s code and allows you to track metrics that matter to your business goals.
Computed events are ideal to use when you want to:
- Merge related events: In many SaaS platforms, a single user action might trigger multiple technical events. For instance, a user completes registration by clicking the Sign Up button (Event A) and submitting a form (Event B). Instead of tracking both events separately, you can merge them into a Computed Event called User Signup.
- Simplify funnels: Funnels often require users to pass through multiple touchpoints. But what if your app allows multiple pathways for a single action? Instead of creating a funnel step with complex logic, you can use a computed event as a single funnel step to track the overall goal. This reduces funnel complexity and helps focus on the intent, not the specific path.
- Unify event properties: You can standardize properties like revenue across different events. For example, you want a revenue report, but different events use different property names, such as Product.amount and Purchase.amount. With computed events, you can map these different revenue-related properties to a unified computed property, such as Combined Revenue.
Create Computed Events
To create a computed event:
- Log in to your Wingify account.
- Navigate to Data360 > Events.
- Click Create.
- Define the Event Name (Total Sales Revenue in this example).
- Select the Event Type as Computed.
- Under the Definition section, add the source events you want to use for the new computed event. You can select a maximum of three source events for creating a new computed event.
Wingify treats this as [InStore Purchase OR Online Purchase]. If either of these events is triggered, the Total Sales Revenue computed event will be captured.
- You can click + and where below each event to narrow them down by specific conditions (as shown in the image above). For example, tracking an In-Store purchase event where Product Amount > 0
When creating a Computed Event, you can also define new properties to unify data from source events. This lets you create a single property that aggregates data from the source properties.
To create computed properties:
- Scroll down to the Mapped Properties section on the Create Computed Event page.
- Click Create Computed Property.
- In the Computed Property field, enter a meaningful name. For example, use Combined Revenue to track total revenue from in-store and online purchases.
- Select the appropriate data type for the computed property: Number, Text, Boolean, etc., based on the type of data you want to unify.
- In the Source Event dropdown, select the event (for example, In-Store Purchase or Online Purchase) from which you want to pull the property.
- In the Source Property dropdown, select the specific property from that event (for example, Product Amount).
Note: You can only map properties that share the same data type. For example, you cannot map a String property and a Number property to the same computed property.
- Click Map another property to include more source events and their properties in the same computed property. This is useful if different events log similar values under different property names. For example, for the Combined Revenue property, you might map:
- Product.amount
- (And optionally) Purchase.amount, or Product.value, etc
You can add a short description to explain the purpose of this property (recommended for clarity in shared workspaces). Repeat the steps to create more computed properties.
- Click Save Now to create the new computed event with mapped properties from source events.
Once you create this computed event, you can use it in Funnels or to create a new metric in Metrics.
Troubleshooting
| Issue | Possible Cause | Solution |
|---|---|---|
| Computed event is not capturing any data | The computed event conditions or metric definition may not be correctly configured or satisfied. | Go to the specific campaign and click on Review. Under the Review section, ensure that the condition is configured in a way that it matches at least one base event at any given time. The computed event won't be triggered if no base events satisfy the condition. Check if the Metric has any additional filter conditions. Confirm they are correctly set and do not conflict with the computed event logic. If you select the "value of an event property" while creating the Metric for a computed event, ensure the property of the computed event consists of data when base events are triggered. |
Best Practices
- Name thoughtfully and clearly Use descriptive, intuitive names (for example, In-Store Purchase or Online Purchase) that instantly convey the purpose of the computed event to your team.
- Keep event selection focused Include only events that are logically connected. Adding too many unrelated events can complicate analysis and dilute insights.
FAQs
- I created a property for a computed event. Can I delete it later? No. Once a computed property mapping is saved, it cannot be deleted. You can, however, archive it or edit it to change the property mapping.
- What logic is used when merging multiple events? When you combine multiple events (such as Event A and Event B), they are merged using OR logic. This means the computed events will be triggered if either Event A OR Event B occurs.
- Can I remove events from a computed event's filter? You can remove events from the filter only if they are not used in any Property Mapping of that computed event.
- How many events can I include in the filter? You can include up to 3 events in total in the filter.
- Can the "where clause" be changed for any event in the filter? Yes, the where clause can be modified for any event in the filter.
- Can I add or remove property mappings? You can add new property mappings, but removal is not allowed.
- Can existing property mappings be edited? Yes, property mappings can be updated. .
- Will standard properties (like page_url) be shown in property mapping? No. Standard properties, including page_url from standard or custom events, will not be shown in Property Mapping.
- Can a property be mapped from multiple properties of the same event? No. Each mapping must be from different events. For example, a mapping like compProp = e1.prop1 or e1.prop2 is not allowed.
- What properties are available when using a computed event in a metric? Only the properties created in Property Mapping for that computed event will be shown in the "where clause filter" and "value of an event property".
Need more help?
For further assistance or more information, contact Wingify Support.