You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sub-event analysis lets you analyze event data at a level more granular than the event level. Instead of filtering on entire event, you can segment on individual containers within events. For example:
17
+
Sub-event analysis lets you analyze event data at a level more granular than the event level. Instead of filtering on entire events, you can segment on individual containers within events. For example:
18
18
19
-
- Segmenting on a specific product category without including all other products purchased in the same order
20
-
- Segmenting on a specific assets category within content analytics data?
21
-
- Segmenting on a specific media channel within media analytics data.
19
+
* Segmenting on a specific product category without including all other products purchased in the same order.
20
+
* Segmenting on a specific assets category within content analytics data.
21
+
* Segmenting on a specific media channel within media analytics data.
22
22
23
+
In Customer Journey Analytics, you define containers within a data view for which you want to use sub-event analysis. Without sub-event analysis, segmenting on a container item attribute returns all events, sessions, people, (global) accounts [!BADGE B2B Edition]{type=Informative url="https://experienceleague.adobe.com/en/docs/analytics-platform/using/cja-overview/cja-b2b/cja-b2b-edition" newtab=true tooltip="Customer Journey Analytics B2B Edition"}, buying groups [!BADGE B2B Edition]{type=Informative url="https://experienceleague.adobe.com/en/docs/analytics-platform/using/cja-overview/cja-b2b/cja-b2b-edition" newtab=true tooltip="Customer Journey Analytics B2B Edition"}, opportunities [!BADGE B2B Edition]{type=Informative url="https://experienceleague.adobe.com/en/docs/analytics-platform/using/cja-overview/cja-b2b/cja-b2b-edition" newtab=true tooltip="Customer Journey Analytics B2B Edition"}, or other [containers](/help/data-views/create-dataview.md#containers-1) you have defined. The result is incorrect attribution and inflated revenue metrics. Sub-event analysis scopes the filter to individual container rows within an event and solves these issues.
23
24
24
-
In Customer Journey Analytics, you define containers within a data view for which you want to use sub-event analysis. Without sub-event analysis, segmenting on a container item attribute returns all events, sessions, people, (global) accounts [!BADGE B2B Edition]{type=Informative url="https://experienceleague.adobe.com/en/docs/analytics-platform/using/cja-overview/cja-b2b/cja-b2b-edition" newtab=true tooltip="Customer Journey Analytics B2B Edition"}, buying groups [!BADGE B2B Edition]{type=Informative url="https://experienceleague.adobe.com/en/docs/analytics-platform/using/cja-overview/cja-b2b/cja-b2b-edition" newtab=true tooltip="Customer Journey Analytics B2B Edition"}, opportunities [!BADGE B2B Edition]{type=Informative url="https://experienceleague.adobe.com/en/docs/analytics-platform/using/cja-overview/cja-b2b/cja-b2b-edition" newtab=true tooltip="Customer Journey Analytics B2B Edition"}, or other [containers](/help/data-views/create-dataview.md#containers-1) you have defined. The result is incorrect attribution and inflated revenue metrics. Sub-event analysis scopes the filter to individual container rows within a event and solves these issues.
25
-
26
-
In sub-event analysis, exclude logic behaves differently from standard event-level exclusion against the container. When you exclude item attributes within the container, the segment returns events that **have items** within the container but don't match your exclusion criteria. The segment does not return event with no items at all.
25
+
In sub-event analysis, exclude logic behaves differently from standard event-level exclusion against the container. When you exclude item attributes within the container, the segment returns events that **have items** within the container but don't match your exclusion criteria. The segment does not return events with no items at all.
27
26
28
27
29
28
## Example
@@ -45,129 +44,27 @@ When you report on categories, all other values for **[!UICONTROL product_catego
45
44
46
45
>[!TAB Sub-event analysis]
47
46
48
-
In the segmentation builder or as part of a **[!UICONTROL Quick segment]**, you specify to **[!UICONTROL Include]** the **[!UICONTROL Dimension]****[!UICONTROL product_category]****[!UICONTROL equals]****[!UICONTROL Professional Suits]** on the **[!UICONTROL Products]** container.
47
+
You have defined a **[!UICONTROL Product Details]**[custom container](/help/data-views/create-dataview.md#containers) in your data view for the purpose of sub-event analysis on products.
In the segmentation builder or as part of a **[!UICONTROL Quick segment]**, you specify to **[!UICONTROL Include]** the **[!UICONTROL Dimension]****[!UICONTROL product_category]****[!UICONTROL equals]****[!UICONTROL Professional Suits]** on the **[!UICONTROL Product Details]** container.
49
52
50
53

51
54
52
55
As a result, all orders containing at least a **[!UICONTROL Professional Suits]****[!UICONTROL product_category]** are considered, and only the revenue of products belonging to the **[!UICONTROL Professional Suits]****[!UICONTROL product_categorey]** are included for the **[!UICONTROL Revenue]** metric.
53
-
When you report on categories, only the **[!UICONTROL Professional Suits]****[!UICONTROL Rproduct_category]** is reported.
56
+
When you report on categories, only the **[!UICONTROL Professional Suits]****[!UICONTROL product_category]** is reported.
54
57
55
58
>[!TAB Sub-event analysis (exclude)]
56
59
57
-
In the segmentation builder or as part of a **[!UICONTROL Quick segment]**, you specify to **[!UICONTROL Exclude]** the **[!UICONTROL Dimension]****[!UICONTROL product_category]****[!UICONTROL equals]****[!UICONTROL Professional Suits]** on the **[!UICONTROL Products]** container.
60
+
You have defined a **[!UICONTROL Product Details]**[custom container](/help/data-views/create-dataview.md#containers) in your data view for the purpose of sub-event analysis on products.
In the segmentation builder or as part of a **[!UICONTROL Quick segment]**, you specify to **[!UICONTROL Exclude]** the **[!UICONTROL Dimension]****[!UICONTROL product_category]****[!UICONTROL equals]****[!UICONTROL Professional Suits]** on the **[!UICONTROL Product Details]** container.
58
65
59
66

60
67
61
68
To exclude at the product level, events that contain at least one product are included, then the exclusion on sub-event level is applied within that scope. This exclusion differs from event-level exclusion, which excludes the entire event.
62
69
63
70
>[!ENDTABS]
64
-
65
-
66
-
<!--
67
-
68
-
AI generated content
69
-
70
-
title: Sub-Event Analysis in Customer Journey Analytics
71
-
description: Learn how to analyze data below the event level in Customer Journey Analytics using sub-event containers to segment individual items within event arrays.
72
-
feature: Filters, Segments
73
-
role: User, Admin
74
-
product_v2:
75
-
- id: e98b7246-966c-4318-9e95-cad2f7a17dc7
76
-
internal-label: Customer Journey Analytics
77
-
feature_v2:
78
-
- id: c73c4213-d623-4126-81f4-80b42e5e2656
79
-
internal-label: Analysis Workspace
80
-
- id: ce577701-5b9e-4fe4-8fa3-4eedea976da4
81
-
internal-label: Components
82
-
subfeature_v2:
83
-
- id: bc7a5a86-1a70-451f-985c-037b65f091d1
84
-
internal-label: Segments, Segments (CJA)
85
-
role_v2:
86
-
- id: b69b2659-1057-424e-8fc5-ed9e016dc554
87
-
internal-label: User
88
-
- id: e5aeaef3-57b4-4cce-b025-6dea43f9e14b
89
-
internal-label: Admin
90
-
---
91
-
92
-
# Sub-event analysis
93
-
94
-
Sub-event analysis lets you segment and analyze data at a level below the individual event — for example, a specific product within a product list, or a single item within an array field. Without this capability, all data in arrays is automatically lifted to the event level, which causes attribution bleed, inflated counts, and inaccurate metrics.
95
-
96
-
**Example:** A customer purchases three items in a single order. Without sub-event analysis, a segment for *red shoes* would match the entire event, pulling in all three products. With sub-event analysis, the segment evaluates each item in the product list individually, returning only the red shoes row.
97
-
98
-
Sub-event analysis is built on *sub-event containers* — containers that an administrator configures in the data view. Once configured, these containers are available for use in the Segment builder and in certain visualizations.
Administrators configure sub-event containers from the **[!UICONTROL Containers]** tab in the data view builder. This tab appears before the **[!UICONTROL Components]** tab.
103
-
104
-
### System containers and custom containers
105
-
106
-
The **[!UICONTROL Containers]** tab has two sections:
107
-
108
-
| Section | Description |
109
-
|---|---|
110
-
| **[!UICONTROL System]** | The standard Person, Session, and Event containers. Administrators can rename a system container's display name but cannot otherwise modify it. |
111
-
| **[!UICONTROL Custom]** | Schema-based or component-based containers that you create from your data view's schema fields. These represent the sub-event level of your data — for example, `productListItems` in an e-commerce schema. |
112
-
113
-
The **[!UICONTROL Container type]** column shows whether each custom container is **[!UICONTROL Schema-based]** or **[!UICONTROL Component-based]**. Component-based containers only appear after you add the corresponding dimension or metric to the data view.
114
-
115
-
### Curate a container
116
-
117
-
Custom containers must be curated before they are available in the Segment builder. Curating a container is an explicit opt-in: only curated containers are valid for use in segments.
118
-
119
-
To curate a custom container, select the container in the **[!UICONTROL Custom]** table and enable it for segmentation.
120
-
121
-
>[!NOTE]
122
-
>
123
-
>A maximum of 100 custom containers can be curated per data view, across all Customer Journey Analytics SKUs. This limit may change in the future. Any auto-generated occurrence metrics from curated containers count toward the 5,000 component limit per data view.
124
-
125
-
### Container display names
126
-
127
-
The container's internal name is immutable after creation. Only the display name is editable. You can also add context labels and hide a container from reporting without removing it.
128
-
129
-
## Use sub-event containers in segments
130
-
131
-
Once an administrator has curated at least one sub-event container, it is available in the Segment builder as a new container option alongside Person, Session, and Event.
132
-
133
-
### Container auto-inference
134
-
135
-
When you drag a dimension that belongs to a sub-event container (for example, `productID`) into the Segment builder canvas, the builder automatically selects the most granular applicable sub-event container rather than defaulting to the Event container. This means the segment evaluates at the sub-event level without any additional configuration.
136
-
137
-
>[!NOTE]
138
-
>
139
-
>Container auto-inference applies when the dimension is exclusively part of one sub-event container. If a dimension appears in multiple containers, you must select the container manually.
140
-
141
-
### Mixed containers
142
-
143
-
When you add dimensions or metrics from different sub-event containers in a single segment rule, the builder uses the highest (least granular) container that covers all components. If all components share the same sub-event container, that shared container is used.
144
-
145
-
### Exclude logic
146
-
147
-
Exclusion at the sub-event level works differently from event-level exclusion. To exclude a specific sub-event condition, the system first includes events that contain a matching sub-event, then applies the exclusion within those events. This means the segment identifies *events that have the sub-event* and then removes the matching sub-event rows — rather than excluding all events where the sub-event does not exist.
148
-
149
-
This behavior is intentional but counterintuitive. Use explicit **[!UICONTROL Include]** and **[!UICONTROL Exclude]** containers when building sub-event exclusion logic to make the intent clear.
150
-
151
-
### Filter by container in the left rail
152
-
153
-
The Segment builder left rail includes a new option to filter the component list by container. Selecting a container shows only the dimensions and metrics that belong to that container, making it easier to build focused sub-event segment conditions.
154
-
155
-
This container filter is available in the Segment builder only. It is not currently available in other left rail panels.
156
-
157
-
## Auto-generated occurrence metrics
158
-
159
-
When an administrator curates a sub-event container, an **Occurrences** metric is automatically generated for that container. This metric counts the number of sub-event rows that match the container and appears in the left rail as a selectable metric when building segments.
160
-
161
-
These auto-generated metrics behave like the standard Person, Session, and Event count metrics:
162
-
163
-
- They cannot be duplicated or structurally modified.
164
-
- You can rename them, add context labels, and hide them from reporting.
165
-
- If you rename the curated container, the auto-generated metric name updates automatically — unless you have already manually renamed the metric.
166
-
167
-
## Histogram visualization
168
-
169
-
The Histogram is the only visualization that requires you to select a sub-event container explicitly. A container drop-down menu appears in the Histogram panel when sub-event containers are available in the data view, allowing you to scope the distribution to a specific container level.
170
-
171
-
No other panels or visualizations require changes to support sub-event containers.
0 commit comments