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.