Expand my Community achievements bar.

Webinar: Adobe Customer Journey Analytics Product Innovations: A Quarterly Overview. Come learn for the Adobe Analytics Product team who will be covering AJO reporting, Graph-based Stitching, guided analysis for CJA, and more!
SOLVED

Build a segment to filter by hit *then* visitor

Avatar

Level 2

Segments filter by the outer container, then the inner container. According to the documentation it's not possible to have a Visitor container within a Hit container, but I wanted to check if maybe there was an alternate method for that. 

 

Basically I want to first filter a data set for only specific hits, then I want to filter only those hits for a visitor level criteria. Possible/not possible?

1 Accepted Solution

Avatar

Correct answer by
Level 3

The container works as a wrapper for any segment. to filter a data set for only specific hits, you could use hit based segment.

About segments and containers:

https://experienceleague.adobe.com/docs/analytics/components/segmentation/seg-overview.html?lang=en

https://experienceleague.adobe.com/docs/analytics/components/segmentation/segmentation-workflow/seg-...

 

Thnaks,

View solution in original post

7 Replies

Avatar

Community Advisor

I think you might want to first create a Visitor container that match you first hit criteria, then another container to exclude Visitors or visits or hits that do not match further criteria.

 

 

Avatar

Level 2
I considered that, but it's not practical since the required exclude list would be thousands of values.

Avatar

Community Advisor

Why can't you just use a single Hit-level container?

It stands to reason that since you're ultimately getting a segment of Hits, because that's your outer container, then anything within that container should be filtered/segmented based on Hits too.

Or maybe I'm not understanding your problem correctly.

Avatar

Level 2
Because I want to use this with the Products variable per visitor. For example, I want to segment by visitors who have spent $x on a specific product over a period of time. When I make the inner container a Visitor that appears to take precedence over the outer Hit container since it's the broadest scope.

Avatar

Level 10
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?

Avatar

Correct answer by
Level 3

The container works as a wrapper for any segment. to filter a data set for only specific hits, you could use hit based segment.

About segments and containers:

https://experienceleague.adobe.com/docs/analytics/components/segmentation/seg-overview.html?lang=en

https://experienceleague.adobe.com/docs/analytics/components/segmentation/segmentation-workflow/seg-...

 

Thnaks,

Avatar

Level 2
Thanks, but I don't want to just limit to hits. I want to filter for only specific hits, and then filter those results with a visitor scope. For example, I want to filter hits to only those with a purchase of X product, then filter those hits to visitors who have spent Y amount on that product. I think this goes back to the need for a Product scoped segment that I asked about in another post.