You need to make your resource bundle reflect the appropriate naming for your metric. If your application does not already have a resource bundle, create one now. You can use as many resource bundles as you like. If you decide to use more than one resource bundle, it’s a good idea to keep all information for a given metric in the same resource bundle and direct the metric handler and metric info components to use it.
In a resource bundle, set the
segmentNameResourceKey
key
to a unique name that identifies your metric. You will need to save this key to the metric handlersegmentNameResourceKey
property. Set the resourcevalue
to the name that will represent the segment in scenarios that uses your metric.In a resource bundle, add a
testResults.rows.propertyName
key wherepropertyName
represents the metric as it is defined in theABTestReportRepository
testReportGroup
item descriptor. Add a key and set this value to the label that will be displayed for the metric in the Results tab.Add the resource bundle to the ATG
CLASSPATH
. For instructions, see the Application Module Manifest File section of the ATG Programming Guide.