Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Regular Expression for Percent Page Viewed

carlos_am298394
Level 2
Level 2

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! 

1 Accepted Solution
ParitMittal
Correct answer by
Level 10
Level 10

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

View solution in original post

2 Replies
ParitMittal
Correct answer by
Level 10
Level 10

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

View solution in original post

carlos_am298394
Level 2
Level 2

Fantastic. This worked great. Thank you!