model/affiliate_analytics_metrics library