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!

Site Section/Page Level Segments

Avatar

Level 2

Hello everyone,

 

I would like to make a segment including visits that went to a homepage and also went to a key site section (company for example) 

 

Would the screenshot below be the correct way?? i am using page level segments and site section levels segments but when i use the segment for site section (homepage (index) or company) its 0 - Why is this? Hence I am providing only the page level segment example but I am afraid its including all page visits to homepage + page visits to company and not those within the homepage who went to a company page. I see also clauses for THEN  but i want everyone who saw the homepage and a company page.

 

jimena1_1-1721076035010.png

 

Is there a more recommended way to capture these visits?

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Community Advisor

The segment you have:

 

HIT [

    Page Name equals "index"

    OR

    Page Name contains any of "index:company"

]

 

will return ANY hit that is "index" or contains "index:company" (I don't know if you were meaning to write "index company" looking for either of those values... contains any of use space (" ") as a delimiter, so in your example, you aren't even making use of the "any of" part of the logic, you only have one value).

 

But in any case, you won't end up with "visits that went to a homepage and also went to a key site section" as you want.

 

Now, the first thing I want to know is, do you want ALL pages from those visits to be returned? Or just the specified page within those visits?

 

For Example:

 

Visit:

  • ** Index
  • Page A
  • Page B
  • ** Section "Company"
  • Page C

 

Do you want all the pages above returned, since the visit had both "index" and "company" in the same visit? Or do you want only "Index" and "Company" from the visit (that hit both) to be returned? (The overall difference is the segment will return the same number of visits, but the first will have 5 page views, the other option will only have 2).

 

 

So, here are the two different segment options (note, I will use your "index:company" since I assume that maybe you want to catch multiple potential "company" pages under index, and only under index)

 

1. Segment that returns ALL hits, within a visit containing "index" and "company" pages.

 

VISIT [

    Page Name equals "index"

    AND

    Page Name contains "index:company"

]

 

Basically, I am looking with the Visit for a hit that has "index" AND another hit that contains "index:company".... since the container is at a VISIT scope, each clause here will look at different hits within the same visit, if the visit has both clauses match at least once within the same visit, the entire visit will be returned (including Pages A, B and C)

 

 

Now the alternate would be to look for Visits that had both, but only return those specified Hits.

 

HIT [

    HIT Container [

        Page Name equals "index"

        OR

        Page Name contains "index:company"

    ]

    AND

    VISIT Container [

        Page Name equals "index"

        AND

        Page Name contains "index:company"

    ]

]

 

Here I am using the Hit scope to ensure I only return matching hits, the first container will look for hits that are either "index" or "index:company", and the second container will apply the VISIT level logic of both hits must exist within the same Visit.