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

Creating a segment for an event that occurs on the last page of a visit

Avatar

Level 5

I am trying to create two segments based on an s.event firing (or not firing) on the last page of a visit, but am running into trouble. The two segments are outlined as follows:

Segment A

  • Page X loads and s.event1 fires on the page load. Both Page and s.event1 are captured in the same call.
  • The visit does not include any additional pages or calls.

Segment B

  • Page X loads and s.event1 does not fire on the page load. Both Page and s.event1 are captured in the same call.
  • The visit does not include any additional pages or calls.

For the sake of this example, Page X is the site's homepage. Thus the segments is designed to answer the question, "did s.event1 fire on the homepage when the homepage was the last page of the visit?"

The trouble likely stems from an exit page having visit-level persistence, while I need the s.event to only count if it fires on the last page. Since it's the last page of the visit that I'm focusing on, using Hit Depth or Visit Depth won't work. I read through How do you create a segment for exit page?  but the post isn't quite what I'm after.

Any help from the Community would be much appreciated.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Unfortunately, I don't believe what you are after can be done for the reason that you outlined (exit page is session level, therefore there is no way to isolate the final page view)

But you can vote for this idea that would make it possible...

Make entries & exits metrics available in segments

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Unfortunately, I don't believe what you are after can be done for the reason that you outlined (exit page is session level, therefore there is no way to isolate the final page view)

But you can vote for this idea that would make it possible...

Make entries & exits metrics available in segments