Segments (also known as profile groups) represent different groups in your customer base. To log segment data for reporting, the /atg/reporting/datacollection/userprofiling/SegmentChangeListenerService
listens for ConfigurationEvents
. These events occur when updates, deletions, or insertions are made to segments. The listener sends details of segment changes to the /atg/reporting/datacollection/userprofiling/SegmentFileLogger
via a data collection queue. The SegmentFileLogger
creates the log entry.
Segment log files contain the following:
Timestamp
Name of the repository to which segments are bound within the repository group container, specified in
/atg/registry/RepositoryGroups
Item type, which is always
segment
A
repository:name
combination, which uniquely identifies the segment. For example,UserProfile:HighValueCustomers
.Change type (INSERT, UPDATE, or DELETE)
Segment name
Segment description from the
serviceInfo
property of the associated Nucleus component
The following is an example of the segment log:
10/19/2006 20:46:01UserProfilessegmentUserProfiles:DiscountShopper
INSERTDiscountShopperPrefers sale items
10/19/2006 21:46:10UserProfilessegmentUserProfiles:DiscountShopper
UPDATEDiscountShopperOnly sale items
10/19/2006 21:50:13UserProfilessegmentUserProfiles:DiscountShopper
DELETEDiscountShopperOnly sale items