Regular Expression for Percent Page Viewed | Community
Skip to main content
carlos_am298394
Level 2
April 5, 2016
Solved

Regular Expression for Percent Page Viewed

  • April 5, 2016
  • 2 replies
  • 1339 views

Hi,

I'm trying to create classifications for "Percent Page Viewed" as recommended by Omniture, so that I can see percents in series of 10. So, if a user scrolled to 92% of the page, I can classify that as 100% page scroll.

I have all the implementation completed, but when I try to group them in SAINT, I can't seem to get the Regular Expressions correctly: 

I'm using a range like this: 

[91-100] =100%

[81-90] = 90% and so on. 

Any help would be huge. Thank you! 

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 ParitMittal

Hi ,

To group the percentages in SAINT , Please use the Regular expression below for classifications.

EX- For Range from 91 to 100 , Use the Regular expression as ^(9[1-9]|100)$ .The regular expression matches the no's from 91 to 100.

Similarly for other range i.e. 81-90. Use the Regular expression as ^(8[1-9]|90)$ . The regular expression matches the no's from 81 to 99.

Please see the following for more information about Regular Expression for classification rules.

https://marketing.adobe.com/resources/help/en_US/reference/regex_classification_rules.html

Thanks & Regards

Parit Mittal

2 replies

ParitMittal
ParitMittalAccepted solution
Level 10
April 5, 2016

Hi ,

To group the percentages in SAINT , Please use the Regular expression below for classifications.

EX- For Range from 91 to 100 , Use the Regular expression as ^(9[1-9]|100)$ .The regular expression matches the no's from 91 to 100.

Similarly for other range i.e. 81-90. Use the Regular expression as ^(8[1-9]|90)$ . The regular expression matches the no's from 81 to 99.

Please see the following for more information about Regular Expression for classification rules.

https://marketing.adobe.com/resources/help/en_US/reference/regex_classification_rules.html

Thanks & Regards

Parit Mittal

carlos_am298394
Level 2
April 5, 2016

Fantastic. This worked great. Thank you!