Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Segment creation- identifying traffic exposed to content vs not

Avatar

Level 2

We would like to create a segment that looks at visits where a visitor had page views on a section of content (site section 2) at some point before visiting a specific page "x". They could have looked at the section a) right before page "x" or b) they could have viewed the section and then other pages before finally landing on specific page "x".

 

We created a segment but want to make sure that it accounts for both scenarios "a" and "b". The segment uses the following rules:

 

Include: visits

where site section 2 equals "value a"

Then specific page url equals "id for page x"

 

options=Include everyone

 

We are also interested in how to best create the opposite segment where visit did NOT include the specific site section 2 before landing on the specific page "x"

 

Thanks!

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, building your segment like this, should achieve your first goal... a then b

 

Jennifer_Dungan_0-1661462363110.png

 

You should note that I set the segment to Visit level, but I left the containers at Hit Level... I also didn't specify any time frame on the "Then" operator (so that this shouldn't be direct or within any time or number of hits). You could also use Then "Within 1 Visit"

Jennifer_Dungan_1-1661462824545.png

 

 

 

As for the opposite... where the visit gets to page b, but did not hit a... this one is trickier, but still doable:

 

Jennifer_Dungan_2-1661463067053.png

 

Here, I set the entire Definition to visit. Then I added two containers. The first is also set to visit, but also set as an "exclude" container. I put the exact definition from the first segment in (including the two sub-containers)... section=value a THEN page=id for page x

(Essentially excluding any visits that have that flow).

 

Then in the second container, I just look for page=id for page x

 

These two main containers should use the AND operator.

 

 

This should now find ALL visits that have your Page X, but exclude any visits where the user hit section A then page X.

 

 

If you aren't sure how to make a container an "exclude" container, you can do so with the gear:

Jennifer_Dungan_3-1661463314067.png

 

And you can change the scope of a container with the icon (that changes to reflect the chosen option) that is next to the Gear:

Jennifer_Dungan_4-1661463379265.png

 

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hi, building your segment like this, should achieve your first goal... a then b

 

Jennifer_Dungan_0-1661462363110.png

 

You should note that I set the segment to Visit level, but I left the containers at Hit Level... I also didn't specify any time frame on the "Then" operator (so that this shouldn't be direct or within any time or number of hits). You could also use Then "Within 1 Visit"

Jennifer_Dungan_1-1661462824545.png

 

 

 

As for the opposite... where the visit gets to page b, but did not hit a... this one is trickier, but still doable:

 

Jennifer_Dungan_2-1661463067053.png

 

Here, I set the entire Definition to visit. Then I added two containers. The first is also set to visit, but also set as an "exclude" container. I put the exact definition from the first segment in (including the two sub-containers)... section=value a THEN page=id for page x

(Essentially excluding any visits that have that flow).

 

Then in the second container, I just look for page=id for page x

 

These two main containers should use the AND operator.

 

 

This should now find ALL visits that have your Page X, but exclude any visits where the user hit section A then page X.

 

 

If you aren't sure how to make a container an "exclude" container, you can do so with the gear:

Jennifer_Dungan_3-1661463314067.png

 

And you can change the scope of a container with the icon (that changes to reflect the chosen option) that is next to the Gear:

Jennifer_Dungan_4-1661463379265.png

 

Avatar

Adobe Champion

Hello!  
It looks like you set your segment up correctly to capture both scenarios that you mentioned (because you did not specify an 'after' or 'within' parameter).
To do the opposite, just make a copy of that segment, and make the container an 'exclude' container.
Hope this helps!