< Day Day Up > |
While registered users are easier to track, the behavior of anonymous users is no less important to the owners of a site. After all, for a public commerce site, registered users start as anonymous users. Commerce Server tracks both anonymous and authenticated users. During each session, a unique identifier is assigned to the user that persists during the course of the session so the behavior of the user during the session can be tracked. If you enable cookies, you can keep track of each anonymous user from one session to the next . In this way, for example, you can determine how many visits to the site the user made before completing her first purchase. Global variables are used to store information about the user. These values are recorded on the web logs that will be analyzed later for usage statistics. Table 7.5 summarizes the user information tracked in the log file. Of course for authenticated users you can extend your analysis to include fields that are in their profiles. Table 7.5. Global Variables for Anonymous Users
User IDs can be stored in cookies or as part of the URL (URL mode). The user ID is also stored in the profile if the user is authenticated. You can configure Commerce Server to use cookies or URL mode in the Application Default Configuration resource. |
< Day Day Up > |