| 
 1   | 
 When defining a hit analyzer, expand Metrics.  | 
| 
 2   | 
 Click SLA Thresholds.  | 
| 
 4   | 
 Click Save.  | 
| 
 1   | 
 When defining an analyzer, expand Custom Fields.  | 
| 
 3   | 
 On the Set Type screen, specify whether you want to modify an existing custom field or create a new one.  | 
| 
 4   | 
 On the Set Properties screen, if you are modifying an existing custom field, select the custom field from the list. If you are creating a new custom field, specify the following options:  | 
| 
 •   | 
 Name: Specify a name.  | 
| 
 •   | 
 Description: Summarize the reason you created the custom field.  | 
| 
 •   | 
 Scope: Set the scope for the custom field by selecting either Hit or Session. The custom field can be updated only by an analyzer with access to the selected scope. For example, a hit analyzer can update both kinds of custom fields, but a session analyzer can update only session custom fields.  | 
| 
 •   | 
 Storage: Select an option that determines whether the value for the custom field is stored, and if so, how the custom field is treated in search results. When Scope=Session, you can select options that enable audit logging on the custom field. For a description of the options, see Storage option.  | 
| 
 •   | 
 Storage Format: Set the storage format by selecting either Numeric or Text as the data type. When Numeric is selected, you can search using operators. For example, you can define a search that returns the value of the custom field “shopping cart value” when the value is greater than 100. You can also sort numeric data.  | 
| 
 •   | 
 Truncate large values: Select (default) to limit values to 2 KB (2,048 characters). Clear to store large values up to 64 KB.  | 
| 
 5   | 
 On the Identify Source screen, specify the following options:  | 
| 
 •   | 
 Source: Select the source of the value used to update this custom field—such as Fixed Value, Script Output, Session Custom Field, or one of the hit details. The other available fields change depending on the selected Source.  | 
| 
 •   | 
 Source Detail: If available, specify some detail to further refine the Source selection. For example, if you selected Cookie, you need to select a cookie. You also have the option of using an extraction expression to extract part of the value of the cookie.  | 
| 
 •   | 
 Extraction Expression: Optional—if available, you can create an expression that extracts a portion of the source’s value. For example, if your source contains “$99,” you can extract “99” as your value. For more information, see Defining extraction expressions.  | 
| 
 •   | 
 Update if blank: Optional—override the setting defined for the custom field. Select to allow the custom field to be set to an empty (blank) value. Clear (default) to ignore blank values, that is, an existing value is not replaced by a new value if the new value is blank.  | 
| 
 6   | 
 On the Set Update Criteria screen, specify the following options:  | 
| 
 •   | 
 Value Assignment: Select an option that reflects how you want to handle values for the custom field. For more information, see Value assignment mode option.  | 
| 
 •   | 
 Separator: When the Value Assignment Mode is set to one of the Append options, you can define a separator to be inserted between values. Typical separators are a comma or a colon, but you can use any character or combination of characters that suits your needs.  | 
| 
 •   | 
 Update: By default, a custom field is always updated. You can change the update policy based on the analyzer status or the final hit status (which is the worst status of all the analyzers that match a hit). For more information, see Defining custom field updates.  | 
| 
 7   | 
 Click Finish.  | 
| 
 1   | 
 Expand Custom Fields.  | 
| 
 3   | 
| 
 4   | 
 Click Save.  | 
| 
 1   | 
 Expand Scripts.  | 
| 
 2   | 
| 
 3   | 
 In the Add Script dialog box, select a script or click New to create one on the fly.  | 
| 
 5   | 
 Click Save.  |