Solved

Condition for creating segment “url contains"

  • 13 July 2023
  • 3 replies
  • 75 views

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.

icon

Best answer by Felix 13 July 2023, 09:41

View original

3 replies

Userlevel 4

Hey Rexon,

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

 

Hope that helps,

Felix

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

Userlevel 4

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