Regular Expression in Visited Web Page activity

Anonymous
Not applicable

Regular Expression in Visited Web Page activity

Hi,

I plan to group contacts by their website visit activity. My website URL has the keywords, but want to group only when they visit a specific part of website.

Example, everyone who visits they following webpage I want to add them to network list:

www.mywebsite.com/product/wireless-network-devices.html

www.mywebsite.com/product/network-security.html

However, I don't want to include people who visit following pages

www.mywebsite.com/discussion/wireless-network-devices.html

www.mywebsite.com/blog/network-security.html

I would like to create a regular expression to add anyone who visits the website with keyword "network", but must also have "/product/".

Please note, in scheme of things, I have hundreds of keywords and thus not possible to include/exclude the webpage using filters. Need something broader like regular expression.

Thanks

Deepak

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Regular Expression in Visited Web Page activity

Build the regexp in JavaScript, then either fire a munchkinFunction::visitWebPage or append additional data to the URL before Munchkin::init if there's a match.

Anonymous
Not applicable

Re: Regular Expression in Visited Web Page activity

Thank you Sanford. This certainly helps during data collection.

My wishful thinking: may be we can use some regexp in marketo tool itself during segmentation. May be a product idea. I will post it.

Thanks

Deepak