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

brentrad

23-05-2019

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.

Accepted Solutions (1)

Accepted Solutions (1)

A_Wathen

MVP

29-05-2019

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

Answers (0)