To implement your custom metric, you need to register it with the following ATG Components:
To permit event logging for your metric in test scenarios, add the name of your metric handler component to
/atg/abtest/management/TestManager.metricHandlers
.To enable reporting for your metric, add the name of your metric handler component to
/atg/abtest/reporting/ReportGeneratorService.metricHandlers
.To define the reporting display in the Results tab of ATG Campaign Optimizer , add the name of your Metric info component to
/atg/abtest/web/reporting/ReportManager.metricInfos
.