AnalyticsService
public class AnalyticsService : ServiceBase, IAnalyticsService
Inheritance
- class ServiceBase
- interface IAnalyticsService
Namespace
Constructors
AnalyticsService
public AnalyticsService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider,
ILogger logger, ICache cache, IStoreService storeService, ICurrencyService currencyService)
Methods
GetAverageOrderValueReport
public DateReportData<Amount> GetAverageOrderValueReport(Guid storeId, DateTime from, DateTime to,
DateTime? compareFrom, DateTime? compareTo)
GetCartConversionRatesReport
public CartConversionRatesReportData GetCartConversionRatesReport(Guid storeId, DateTime from,
DateTime to, DateTime? compareFrom, DateTime? compareTo)
GetRepeatCustomerRatesReport
public RepeatCustomerRatesReportData GetRepeatCustomerRatesReport(Guid storeId, DateTime from,
DateTime to, DateTime? compareFrom, DateTime? compareTo)
GetTopSellingProducts
public ProductSalesReportData GetTopSellingProducts(Guid storeId, DateTime from, DateTime to,
DateTime? compareFrom, DateTime? compareTo)
GetTotalOrdersReport
public DateReportData<long> GetTotalOrdersReport(Guid storeId, DateTime from, DateTime to,
DateTime? compareFrom, DateTime? compareTo)
GetTotalRevenueReport
public DateReportData<Amount> GetTotalRevenueReport(Guid storeId, DateTime from, DateTime to,
DateTime? compareFrom, DateTime? compareTo)