How can I create a segment that excludes visits to only /site-section-1 pages but includes visits that saw any other combo of pages | Community
Skip to main content
Adobe Employee
July 11, 2023
Solved

How can I create a segment that excludes visits to only /site-section-1 pages but includes visits that saw any other combo of pages

  • July 11, 2023
  • 1 reply
  • 763 views

I'm looking to create a segment, or set of segments, that fulfills the following:

 

  • Exclude visits that only include /site-section-1 pages
    • Could be 1 page views or 10 but if they are all /site-section-1, exclude them
  • Include visits that include any non-/site-section-1 pages
    • Including visits that saw both /site-section-1 AND non-/site-section-1 pages

 

Scenarios

If a user lands on a page in /site-section-1 and then leaves the site, they'd be excluded.

If a user lands on a page in /site-section-1 and view 4 more pages in /site-section-1 before leaving, they'd be excluded.

If a user lands on a page in /site-section-1 and then goes to a page in /site-section-2, they'd be included.

If a user lands on a page in /site-section-2, views another page in /site-section-2 and leaves, they'd be included.

If a user lands on a page in /site-section-2 and then goes to a page in /site-section-1, they'd be included.

 

I've only been able to get individual parts of the logic to work but can't figure out how to combine it, let alone QA it.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

I am not sure if this is fully there, but I feel something like a double exclusion might be the way to achieve this.... 

 

However, this would require precise testing in an isolated environment where you control all the visits and sections on those visits to ensure this is working as intended.. I do not currently have such data to fully test with...

 

But I feel that Something like:

 

Visit

       Visit Container (Exclude)

                 Dimension contains "/site-section-1"

                 AND

                 Visit Container (Exclude)

                           Dimension does not contain "/site-section-1"

 

 

Essentially, I am excluding Visits that contain "/site-section-1" but then from those visits, excluding visits that that have anything that is not "/site-section-1" (basically a double negative... so the logic is hard to explain)

 

I did a quick test with three columns side by side... basically unfiltered, next to where this was applied, then a third column where I did a simple "Visits contain X".

 

My unfiltered column obviously had the most data, then where this was applied had less.. then the third column where I stacked with must contain X (the item we are trying to block when the only section in use), and the metrics were even smaller.

 

This says to me that my initial segment should be allowing visits that don't hit X at all, and also allowing X where there are other sections.

 

But if you build this, you really need to fully test it under controlled conditions... it might require additional tweaks....

 

On the surface it looks "okay" but it's hard to tell.

1 reply

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
July 12, 2023

I am not sure if this is fully there, but I feel something like a double exclusion might be the way to achieve this.... 

 

However, this would require precise testing in an isolated environment where you control all the visits and sections on those visits to ensure this is working as intended.. I do not currently have such data to fully test with...

 

But I feel that Something like:

 

Visit

       Visit Container (Exclude)

                 Dimension contains "/site-section-1"

                 AND

                 Visit Container (Exclude)

                           Dimension does not contain "/site-section-1"

 

 

Essentially, I am excluding Visits that contain "/site-section-1" but then from those visits, excluding visits that that have anything that is not "/site-section-1" (basically a double negative... so the logic is hard to explain)

 

I did a quick test with three columns side by side... basically unfiltered, next to where this was applied, then a third column where I did a simple "Visits contain X".

 

My unfiltered column obviously had the most data, then where this was applied had less.. then the third column where I stacked with must contain X (the item we are trying to block when the only section in use), and the metrics were even smaller.

 

This says to me that my initial segment should be allowing visits that don't hit X at all, and also allowing X where there are other sections.

 

But if you build this, you really need to fully test it under controlled conditions... it might require additional tweaks....

 

On the surface it looks "okay" but it's hard to tell.