Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

I want to count page events that occurred immediately after a reload.

Avatar

Level 2

I think its a segment, so i can use 'within 1 hit'.  But if I use a hit container, i get 0.  If I use visit, then 50% of my page views are included.  Unfortunately, my events are not passing a page name, so my events are not associated with a page. If that makes sense. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

That is tricky... I am also having trouble trying to achieve such a segment.... 

 

You're right that using "Hit" Level won't work... as this limits the segment to a single hit...

 

But Visit, opens this up to the entire visit that contained the specified sequence.... trying to use "Only Before" or "Only After" sequence only gets you so far..  as all the page views before or after the sequence will still be included... even trying to make a combination of both of these logics, you have to add bounding items to create the sequence, and those steps get included (they still include the first/last step...i.e. they aren't really before or after they are actually before and including OR after and including)

And, if you try to add an exclude for a page view following the sequence, it will exclude any visits that hit more than one page (which isn't what you want).....

 

I will continue to play with this.. but there are some things that I just have never managed to achieve with sequential segments.. usually I would just go to our Data Lake team and ask them to do a SQL query (as they have a lot more control), but I know that isn't likely an option here....

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

That is tricky... I am also having trouble trying to achieve such a segment.... 

 

You're right that using "Hit" Level won't work... as this limits the segment to a single hit...

 

But Visit, opens this up to the entire visit that contained the specified sequence.... trying to use "Only Before" or "Only After" sequence only gets you so far..  as all the page views before or after the sequence will still be included... even trying to make a combination of both of these logics, you have to add bounding items to create the sequence, and those steps get included (they still include the first/last step...i.e. they aren't really before or after they are actually before and including OR after and including)

And, if you try to add an exclude for a page view following the sequence, it will exclude any visits that hit more than one page (which isn't what you want).....

 

I will continue to play with this.. but there are some things that I just have never managed to achieve with sequential segments.. usually I would just go to our Data Lake team and ask them to do a SQL query (as they have a lot more control), but I know that isn't likely an option here....

Avatar

Level 2

Thanks for your response, I really appreciate it.  I do have a data lake team, but the lack of a page name of every hit is an issue for them as well.  

 

A technical fix is to just change the implementation, or add some code to prevent reloads and see how it goes. I think that is the route I'll have to pursue. 

 

Appreciate it.