Help with creating a segment that groups a range of mixed values | Community
Skip to main content
juliusonyancha
Level 4
Sep 20, 2024 1:39 PM UTC
Solved

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

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
bjoern__koth
bjoern__kothAccepted solution
New Participant
Sep 20, 2024 2:05 PM UTC

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)

 

and using regex classification rules to bucket them

this page is super at generating regular expression for numeric ranges

 

On Analysis Workspace side, it looks like this

 

 

Cheers from Switzerland!

5 replies

MandyGeorge
New Participant
Sep 20, 2024 2:38 PM UTC

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.

Translate
bjoern__koth
New Participant
Sep 20, 2024 2:46 PM UTC

Good point, I tend come up with the nerdier approaches 😂

Translate
Cheers from Switzerland!
Jennifer_Dungan
Level 2
Sep 20, 2024 10:11 PM UTC

Nothing wrong with the nerdy approach!

Translate
bjoern__koth
bjoern__kothAccepted solution
New Participant
Sep 20, 2024 2:05 PM UTC

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)

 

and using regex classification rules to bucket them

this page is super at generating regular expression for numeric ranges

 

On Analysis Workspace side, it looks like this

 

 

Translate
Cheers from Switzerland!
juliusonyancha
Level 4
Sep 20, 2024 3:05 PM UTC

This is helpful, thanks @bjoern__koth @mandygeorge 

Translate