Regular Expression in Visited Web Page activity | Community
Skip to main content
July 22, 2015
Question

Regular Expression in Visited Web Page activity

  • July 22, 2015
  • 2 replies
  • 1075 views

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

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

2 replies

SanfordWhiteman
Level 10
July 22, 2015

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.

July 28, 2015

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