First Occurrence of a Page/Site Section value in a visit | Community
Skip to main content
New Participant
Mar 28, 2019 4:41 AM UTC
Solved

First Occurrence of a Page/Site Section value in a visit

Hello,

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.

Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
PratheepArunRaj
PratheepArunRajAccepted solution
New Participant
Mar 28, 2019 1:02 PM UTC

Dear Sai,

You need to use 'Hit Depth'. Check out Hit Depth!

Something like below will help to solve the query.

Thank You!

Arun

2 replies

New Participant
Mar 29, 2019 1:35 AM UTC

Hello Arun,

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"."

Thank you!

Translate
PratheepArunRaj
PratheepArunRajAccepted solution
New Participant
Mar 28, 2019 1:02 PM UTC

Dear Sai,

You need to use 'Hit Depth'. Check out Hit Depth!

Something like below will help to solve the query.

Thank You!

Arun

Translate