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

Segment for Visits with 2+ Distinct Page Views

Avatar

Level 2

I'm trying to design a segment that tracks the number of visits to a section of a webpage that views two distinct pages within that section. I've tried using the Appox Count Distinct and Greater Than/GTOET and Less Than/LTOET functions and all either result in a 0, 1, or capture all visits to that section of the page.


Any ideas on segments/calculated metrics that can be used together to achieve this?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You could exclude all single access visits, since a 'single access' is a visit containing a single unique page name value. If they have two page names that are the same, they would be considered a single access, and would be excluded from the segment.

View solution in original post

8 Replies

Avatar

Community Advisor

Dear DJ,

Use 'Visit' container to satisfy the condition like below.

1376637_pastedImage_0.png

Thank You!

Arun

Avatar

Level 2

Thanks Arun. I actually need to ensure it's not two views of the same page. Is there some kind of distinct/unique function that would allow us to know that within one visit, there's two views of unique pages within their blog within one visit?

Avatar

Correct answer by
Employee Advisor

You could exclude all single access visits, since a 'single access' is a visit containing a single unique page name value. If they have two page names that are the same, they would be considered a single access, and would be excluded from the segment.

Avatar

Level 2

A good thought and would get us closer, but since the blog lives within a larger site environment, there is a way to view one blog page and one non-blog page (and it happens a non-negligible amount) so those folks would still be included, correct?

Avatar

Employee Advisor

You would want to classify your site into "blog" and "non-blog" categories, then segment out whichever ones you don't want to be part of the data set.

Avatar

Level 2

Thanks, we'll give that a shot!

Avatar

Level 5

I'd suggest another possible solution ..

Use getPreviousValue  .. and then trigger an event 'distinct x count' if value is different to the current page 

so .. assuming your pagenames are distinct (or you have article id or similar)

1st PV : getPreviousValue cookie would be empty so you'd set it to current page (distinct value) .. and would trigger distinct count

2nd PV : assuming they refresh the page it you wou;dn't trigger the event as previousValue would be same as current

3.rd PV : view another page .. you'd trigger event.

You could then create a Visit segment where 'distinct x count is y or greater than y

..sure not perfect as if they view the first page again after viewing a different page in between it would increment the count.  There is a solution for this too but it start getting a little more complex

Avatar

Level 2

Hi, came across this as I was looking to do the same thing.
There is in fact a possible solution using Classifications. 
You could create a classification of your Page URL which only classifies the pages in your section. The classification value needs to be unique for each page (see example below....in that case I wanted to combine Programmatic). The easiest option would be to just return the Page URL again (minus any query string parameters).
Depending on the number of URLs, you may want to achieve this with a classification import but it could be done via Rule Builder.

You could then build a segment using Distinct Count > 1 for your new classification.

Because the values in the classification dimension for any pages that aren't in your section will be None, they won't be included in the distinct count. Hence you'll only count pages from your own section.

edwardg5146728_0-1709737329573.png