Profilers
Profilers are typically used to categorize an individual (usually the current site visitor) according to his or her user properties.
Besides a user's properties, profilers can be used to define other conditions based on such factors such as the current date and time, the type of browser the visitor uses, or other implicit and explicit application object properties. Profilers can also make decisions based on the current user's session attributes and request attributes and parameters, along with category and action counts.
Profilers can be constructed to define the conditions of arbitrarily named profiles, or can be defined in terms of other profilers. For example, you can create a profiler that will evaluate as true if a profile is in any, all, or none of a group of other profiles.
- Example: Simple profiler
View an example of a simple profiler that determines whether confidential company news articles will be shown to the current Web site visitor. - Example: Nested profiler
View an example of a nested profiler. - Example: Category Count
Get an overview of implementing category counts from a profiler that will contain profile definitions for movies, cooking, and sports (implicit profiling). - Example: Browser capability
The browser capability stock object allows you to profile the browser the current Web visitor is using to view your site. - Example: "Count of"
View an example demonstrating the use of "Count of". - Example: Request attributes and session attributes
Learn how to construct a profiler in HCL Digital Experience using request attributes and session attributes. - Example: Arithmetic operation
View an example of a profiler that uses arithmetic operations.