Have 60 seconds? Ehsan provides a helpful explanation of URL targeting.
Welcome to One Minute Mondays, because on Monday, you only have one minute.
Each Monday, we’ll post an education-packed tip presented by one of our very own employees. Learn something new, connect with the Optimizely team, and get inspired --- all in 60 seconds!
This week, Ehsan, Optimizely's Technical Support Rep, provides some helpful examples and a wonderful explanation of URL targeting. Plus, he even created a fun URL with additional tips on URL targeting: www.wintermittensforyourkittens.com
Great question! If all of your product pages have a pattern in their URL (like the same subdirectory), a Substring Match Type will target any URL with the sequence of characters (like "/product/") that you identify.
If your product pages are not that easily identifiable, but do have some type of URL pattern to them, you can use the Reguar Expression (or RegEx) Match Type to identify a custom condition that all the product URLs have in common.
Checkout this helpful article on URL Targeting for more details on the four URL Match Types.
Finally, if your product pages are not easily captured by a substring or regular expression in URL targeting, you can configure your experiment to run on product pages by adding a Custom Tag to all of the product pages, and then targeting that tag in your Optimizely experiment.