Home > Contents > Index >
Explicitly sets the list of segments that the current visitor belongs to.
<commercecontext:setsegments names="segmentlist"/>
names
(required)Explicitly sets the list of segments that the current visitor belongs to.
Example 1 sets the visitor segments to explicit values. Example 2 clears all segments. Also states how to revert to picking the segments based on available visitor attribute data.
<commercecontext:setsegments names="ny,wa,mn"/>
Will explicitly set the segments for the current visitor to be ny, wa and mn.<commercecontext:setsegments names=""/>
Will empty the list of segments that the visitor belongs to. Use <commercecontext:calculatesegments/> if required to revert to the segments defined by the available visitor data.
Home > | Contents > | Index > | ||
![]() |
Oracle JSP Tag Reference |