Skip to main content
Solved

Condition for creating segment “url contains"


Is there any possibility to create segment using conditions “url contains” certain words? Not “url matching”? Cause I need to build the segment and urls will be different for each person, but with “commom part” for everyone.

Best answer by Felix

Hey Rexon,

you can use “url matching” and there use Regex, e.g. a wildcard (*) or and OR operator (|).

 

Hope that helps,

Felix

View original
Did this topic help you find an answer to your question?

3 replies

Felix
  • Novice
  • 223 replies
  • Answer
  • July 13, 2023

Hey Rexon,

you can use “url matching” and there use Regex, e.g. a wildcard (*) or and OR operator (|).

 

Hope that helps,

Felix


  • Author
  • Novice
  • 1 reply
  • July 13, 2023

Unfortunately, it’s not the option as there are thousands of variations of that url as this url is specific for each user.


Felix
  • Novice
  • 223 replies
  • July 17, 2023

Hey Rexon,

you would use the “common part” to select the URL. You can check out maybe this article about how regex works: https://www.sitepoint.com/learn-regex/

 

Best,
Felix


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings