I want to create a hit level segment that gives me the first occurrence of "Site Section" = "xyz" within each visit.
i.e within each visit, many hits can have site section equal to "xyz", but i only want the first hit that had site section = "xyz".
In general, a hit level segment that isolates the first occurrence of particular value for a traffic dimension (prop) in a visit.
Use case: Using this hit level segment, i could breakdown and look at other dimensions (props) values.
It would be great if someone could share a possible solution.
You need to use 'Hit Depth'. Check out Hit Depth!
Something like below will help to solve the query.
Thank you for you response.
I think your solution gives the hits where site section = BusinessPortal, only when the hit is the first hit in the visit (hit depth=1).
Here's what i am looking for, Consider this sample visit with hits in the order -
1: pageview with site section 'A'
2: pageview with site section 'B'
3: pageview with site section 'C'
4: custom link 'X'
5. pageview with site section 'D'
6. pageview with site section 'C'
7. custom link 'Y'
End of visit
Form this visit, i want the hit which had the first occurrence for site section 'C'. So in this case, that would be hit#3..
Is there a way i can create a hit level segment that gives me only such hits.. (first occurrence of a particular traffic dimension value)
this is what i meant from my question: "i.e within each visit, many hits can have site section equal to "xyz", but i only want the first hit that had site section = "xyz"."