Expand my Community achievements bar.

SOLVED

Help with creating a segment that groups a range of mixed values

Avatar

Level 4

Hi,

 

I am trying to create a grouping of mixed values captured in Adobe, for example,

Low =<40

Pass >40 to <60

Merit >60

 

Now the values are captured in Adobe as,

"percentile": 30

"percentile": 51

"percentile": 50

"percentile": 62,

 

Any advise on how best to great groups without using contains

juliusonyancha_0-1726839479952.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

That is a good question. I don't think numeric ranges are supported in segment building. Also not regular expressions.

 

Maybe in general, bucketing through classifications could be a way to go (in that case not having a segment)?

For example, this is what I am using for scroll depth (based on the getPercentPageViewed plugin dimensions)

 

bjoern__koth_0-1726840532001.png

and using regex classification rules to bucket them

bjoern__koth_1-1726840648881.png

this page is super at generating regular expression for numeric ranges

 

On Analysis Workspace side, it looks like this

 

bjoern__koth_2-1726840738360.png

bjoern__koth_3-1726840764018.png

 

Cheers from Switzerland!


View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

That is a good question. I don't think numeric ranges are supported in segment building. Also not regular expressions.

 

Maybe in general, bucketing through classifications could be a way to go (in that case not having a segment)?

For example, this is what I am using for scroll depth (based on the getPercentPageViewed plugin dimensions)

 

bjoern__koth_0-1726840532001.png

and using regex classification rules to bucket them

bjoern__koth_1-1726840648881.png

this page is super at generating regular expression for numeric ranges

 

On Analysis Workspace side, it looks like this

 

bjoern__koth_2-1726840738360.png

bjoern__koth_3-1726840764018.png

 

Cheers from Switzerland!


Avatar

Community Advisor and Adobe Champion

I agree with @bjoern__koth. Your best bet is to create a classification. You could use the rule builder with a regex statement, or you could use the classification importer. If those values aren't going to change, then it might be simpler to upload a file with the pairings instead of writing different regex statements. 

If you do need to do visit/visitor level stuff with those values, you can still use the classification values in a segment.

Avatar

Community Advisor

Good point, I tend come up with the nerdier approaches

Cheers from Switzerland!


Avatar

Community Advisor and Adobe Champion

Nothing wrong with the nerdy approach!