Expand my Community achievements bar.

SOLVED

CJA: Create a Segment Where 3 Events Occur within Given Time Frame

Avatar

Level 2

Hello,

I'd like to create a segment where three events occur within a given time, but non-sequentially. It seems that if I want to add time-bound parameters, I have to add a then condition, but I really don't care which order they go in. So it could be:

  • [ Event A, then Event B, then Event C ]  occur within 1 minute OR
  • [ Event B, then Event C, then Event A ] occur within 1 minute OR
  • [ Event C, then Event A, then Event B ] occur within 1 minute

...and so forth

 

Typing these questions out, I'm realizing I may have answered my own question. Should I just make a separate condition for each combination? 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor

Hi @NicoleHa7 I think you want to use a logic group in your segment. See this link for more info: https://experienceleague.adobe.com/en/docs/analytics-platform/using/cja-components/segments/seg-sequ...

Avatar

Community Advisor

Yeah, you're on the right track, this is one of those edge cases where the "Then" logic in sequential segments doesn’t quite line up with the flexibility you want.

If the order truly doesn’t matter but all three events need to occur within a tight time window (like 1 minute), then unfortunately Adobe doesn’t give us a native “unordered but time-bound” operator. So, yes, you’d essentially need to build out multiple permutations manually, using “Then” conditions with time constraints.

That said, another option worth exploring is using a logic group. You can wrap your events in a container and set the logic group to “within X minutes,” but even then, you may run into ordering constraints if you’re using the “Then” operator.

So bottom line: unless you can relax the time constraint or the unordered requirement, you're likely stuck with building out the key combinations manually. Not elegant, but doable.

Would be nice if Adobe added a true “unordered within timeframe” feature someday!