Classification rule builder query | Community
Skip to main content
New Participant
December 8, 2023
Solved

Classification rule builder query

  • December 8, 2023
  • 1 reply
  • 1002 views

Hi Everyone,

 

I am trying to classify page load time into a group. for e.g. if the page load time is between 0 to 3 sec then it should come under 0-3. If it is between 4 to 6 sec then it will come under 4-6 and so on and so forth. So, what should be the 'select rule type' and 'Enter match criteria' in the classification rule builder?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by RobertBlakeley

The screenshot below shows how I did it. I set multiple rules using regex. You can adjust the increments according to your needs. You can also turn page load time into a custom metric which you can apply against any other dimension like page name or a page group. There is likely more efficient regex code you can use.

 

1 reply

RobertBlakeley
RobertBlakeleyAccepted solution
New Participant
December 8, 2023

The screenshot below shows how I did it. I set multiple rules using regex. You can adjust the increments according to your needs. You can also turn page load time into a custom metric which you can apply against any other dimension like page name or a page group. There is likely more efficient regex code you can use.

 

Jennifer_Dungan
New Participant
December 8, 2023

Yes, Regex on numbers (or numbers stored as string values) tends to be overly complex, but Regex is really your only option...