Classification help request



Hi there,


Owing to some custom Adobe analytics instrumentation, we are not able to use the out of the box "Browser width" and "Browser height" dimensions.


As a consequence, we have enabled a new dimensions that allow us to capture the "browser width" and "browser height".


Here is an example of the value that we currently populate : "{""width"":1920,""height"":937}"


I would like to do two things :

  • Make a classification in order to extract individually each value (one for browser width and one other for "browser height"
  • Once the extraction is over, I would like to group these values under some buckets (one for browser width and one other for browser height) :
    • 100 to 199
    • 200 to 299
    • ...
    • 1000 to 1099

FYI, I already created the "traffic classification" then tried to build the rule via the "Classification rule builder" section but I'm currently struggling with the regexp.


Thank you in advance for your help !


classification rule builder classifications

Accepted Solutions (0)

Answers (1)

Answers (1)



Hi @Fox_mulder007 ,

Part 1:


sending $1 into the variable for width and $2 into the variable for height.


Part 2:

For this be sure to use sub classifications so that you can classify the already classified variable:

For 100-199,


For 200-299,


etc. mapping $0 to the corresponding range. 

If you don't want to use sub classification, you could just nest the two regular expressions and create the range from the initial value.