Jan Horsman clarified SmartTarget triggers in this answer. How would we implement a trigger (for SmartTarget 2014) that "matches on part of the URL" for the current and/or past pages visited in a given session?
The use case would be: based on a visitor's path through a site, promote this set of content.
Default ST Triggers?
By default, we have a trigger for Session - Original Referrer
, but I believe that's the last URL (in the session) before visiting the delivery website, right? I might be reading the list wrong, but I don't see any default SmartTarget triggers for the current URL.
ADF?
The documentation for ADF claims, which SmartTarget relies on, describes:
"Web server session-related server data—for example, session length, click trail and so on..."
- For the current page, it looks like we have
REQUEST_FULL_URL
orREQUEST_URI
- Should we get previously visited pages (in the click trail) from one of the other default ADF claims such as
SERVER_VARIABLES
orSESSION_ATTRIBUTES
?