I'm trying to define a segment to get me the single hit after a particular event happens. I've tried a number of combinations of sequential segments and exclusions but nothing seems to get just the one hit.
The question I'm trying to answer is:
What was the Page Type (v12 and p1) immediately after the customer interacted with the chatbot (event220)?
I've tried the following:
But these don't limit to just the one hit.
How do I get just the single hit? Can I use something like Entry page - does that still work after a sequential segment?
Hi @ben_at_120Feet ,
i'm not sure how one would do this in workspace, but i thought maybe an addition to your implementation might do the trick.
I was thinking if you leverage the plugin get previous value plugin,
use that to pass the event set into a prop on the next hit and then you'd "potentially" be able to break down that prop by page type, which should show the page type that followed the last event.
Maybe try test this before publishing out 😅
Right, we've solved this in Workspace using a flow visualisation and the evar that is set at the same time as the event fires:
(e220 fires to say chat interaction, and v165 has the details of what the interaction was)
Now for the real question... how to do this in Report Builder? 😄
I think I'm going to resort to "Create Segment from this path..." and build a segment for each page type. Luckily I'm only interested in five or six page types, not all of them...
You can't segment for a single hit. It's just... impractical in AA's sense. Analytics is usually about looking at trends and behaviours, and your requirement is too narrow for that.
@fredrambert's suggestion is your best option.