I am building a session based filter where I specify:
Filter = Session {
Event = A
Then
Event = B
Then
Event = C
}
Then, lets says the only session I have in AA is this: A -> B -> C.
If I apply this session level segment and look at all events this is what I except:
All: [A = 1, B = 1, C = 1],
Only Before: [A = 1, B = 1],
Only After: [B=1, C=1]
Is this correct?
Solved! Go to Solution.
Views
Replies
Total Likes
A segment built like this:
Is going to be fundamentally different than one built like this:
The first segment rule applies to the entire 3 page sequence; the second segment rule, the "Only Before" is only for two of the pages in the sequence.
In the first rule, the Only Before Sequence applies to the entire sequence, meaning you should get data from Before Page A (but not including Page A (correction) and this will include Page A)
In the second rule, the Only Before Sequence applies to only a portion of the sequence, meaning you should get data before Page B (it should include Page A in the returned data AND Page B. since A is not part of the sub-container where the rule is being applied, (correction) and Page B is the first page in the "Before Sequence)
(correction)
In both cases, Page A and B are part of the sequence, but where you are applying the "Only Before" or "Only After" will determine whether Page B is part of the "included" data or not (since you are using a loose "Then" which means that sequences of Page A > Page D > Page B > Page E > Page C are going to meet the criteria....
In both case, Page E and Page C should not be included, but in the second case, where the Only Before is applied against the sub-set of Page B > Page C; Page A, Page D, and Page B will be returned in your data set.
Views
Replies
Total Likes
That sounds about correct.
Views
Replies
Total Likes
I think it depends on where you apply the Only Before / Only After logic... if you apply to the whole segment rule... I would expect that the segment will return the data before A = 1, B = 1, C = 1... If you have containers within the segment and apply the Before/After, then it should be before or after that subset of logic.
Views
Replies
Total Likes
Hi Jennifer, I am sorry but I am a little confused by the response. What do you mean by 'If you apply to the whole segment rule" and "If you have containers within the segment and apply...." ?
Is this to say that if I put each separate event in a container the logic would be different compared to putting all 3 events in no container?
Views
Replies
Total Likes
A segment built like this:
Is going to be fundamentally different than one built like this:
The first segment rule applies to the entire 3 page sequence; the second segment rule, the "Only Before" is only for two of the pages in the sequence.
In the first rule, the Only Before Sequence applies to the entire sequence, meaning you should get data from Before Page A (but not including Page A (correction) and this will include Page A)
In the second rule, the Only Before Sequence applies to only a portion of the sequence, meaning you should get data before Page B (it should include Page A in the returned data AND Page B. since A is not part of the sub-container where the rule is being applied, (correction) and Page B is the first page in the "Before Sequence)
(correction)
In both cases, Page A and B are part of the sequence, but where you are applying the "Only Before" or "Only After" will determine whether Page B is part of the "included" data or not (since you are using a loose "Then" which means that sequences of Page A > Page D > Page B > Page E > Page C are going to meet the criteria....
In both case, Page E and Page C should not be included, but in the second case, where the Only Before is applied against the sub-set of Page B > Page C; Page A, Page D, and Page B will be returned in your data set.
Views
Replies
Total Likes
Hi Jennifer thanks for the clear response, a few follow up questions:
- The AA documentation states that "only before" should capture the first event in the segment, yet you've stated "In the first rule, the Only Before Sequence applies to the entire sequence, meaning you should get data from Before Page A (but not including Page A)." Could you help me understand this more in the cases of "only before" and "only after."
- I have attached the following images could you help me ensure I understand this correctly?
- This would count all:
1. pages before A
2.A
3.all pages between A and B (but not B)
4.C
5. all pages past C
- This would count all:
1. pages before A
2.A
3.all pages between A and B (with B)
1. All events after C (but not sure considering my first question)
Views
Replies
Total Likes
Hahah well full disclosure.. I don't use the Before/After rules much.... Maybe it does include the first hit of the sequence; but the wording then (at least to me) is confusing... since "before" is before... not "before and including" (kind of like "greater than" vs "greater than and equal to")
But the scope of where you add it still modifies the logic of what is and isn't included... it just moves it by one hit....
But IF this is the case, then that would make getting actual "before" data nearly impossible.... since it would always include the item you are using as the "cutoff" point... if it was really before, then there would be more flexibility....
It might be worth a test in a controlled sandbox.... going through a few specific sequences... then seeing what the resulting segments return....
I'm doing a test now.. but I will have to wait an hour for the data to appear... stand by
Views
Replies
Total Likes
Ok, I can confirm.. the first page in the sequence is part of the returned data...
I've updated my previous post...
And to answer your specific questions:
Scenario 1:
- This would count all:
1. pages before A
2.A
3.all pages between A and B
4. B
5.C
6. all pages past C
(Honestly, based on my findings, if you are using container in the "After" scenario, it keeps returning everything for me... not what I would expect.... I wonder if we stumbled on a bug.. If I add a page outside the container after, Page A was returned... it shouldn't have been)
Scenario 2:
- This would count all:
1. pages before A
2.A
3.all pages between A and B (with B)
Scenario 3:
1. C
2. Pages after C
Views
Replies
Total Likes
For "Only Before" for A->B->C is it taking only A or A and B??
Views
Replies
Total Likes
Lol, you were too quick for me.. I was updating my last post when this came in.
If by A->B->C (with no sub-containers)... it appears to be including A
If you mean A-> [B->C] (with B and C in the sub-container), it will include A and B
Views
Replies
Total Likes
FYI, I am sorry for the confusion.... the sequential segments are a bit weird and definitely complex... plus.. since I think I just found a bug in the "Only After" rule, it's definitely best to test out your segments
Views
Replies
Total Likes
Its okay Jennifer. Unfortunately, I can't create new data in my context, but I have felt like something has been bugged as the logical test I set up (like ok these two filters should sum to specific number) almost always fail.
Views
Replies
Total Likes
Here is the trick I used when I tested today... I have an evar holding the mid value (so I could create an adhoc filter to just see my data)... maybe you have something similar? or fake a campaign code that is just you, and use that to filter your journey?
I then used incognito to test specific pages in an order that I could play with various scenarios...
So even if you are limited to Prod, if you can isolate yourself in your data, you can play with your segments
Views
Replies
Total Likes
What was the bug you found by the way?
Views
Replies
Total Likes
I did A > B > C > D in my flow...
This segment which should be "After Sequence" should not have returned A... but it did... every page in my flow was returned
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies