Request parameters are the most direct and least developer intensive way to affect user behaviour in Liferay.
Content creators can create URLs in their content or they can define query strings for pages with intention to drive segmentation flows.
(It might be interesting to supplement existing page querystring definition with a UX for building such from taxonomy.)
Users are segmented based on the parameters of the URL:
- Given a segment with "Session" fields Request Parameter equals city; madrid AND Request Parameter contains zip; 280
- And a page with a default experience and a experience for the previously created segment
- When the user visit the page with the URL parameters ?city=madrid&zip=28080
- Then the user views the experience for the segment