Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

AnalyticsController

API reference for AnalyticsController in Vendr, the eCommerce solution for Umbraco v8+

AnalyticsController

public class AnalyticsController : VendrAuthorizedJsonControllerBase

Inheritance

Namespace

Constructors

AnalyticsController

public AnalyticsController(UmbracoControllerContext vendrContext, 
    IAnalyticsService analyticsService, IStoreService storeService, IIOHelper ioHelper)

Methods

GetAnalyticsDashboardConfig

public object GetAnalyticsDashboardConfig(Guid storeId)

GetAverageOrderValueReport

public ChartReportDataDto<decimal> GetAverageOrderValueReport(Guid storeId, DateTime from, 
    DateTime to, DateTime? compareFrom = default(DateTime?), 
    DateTime? compareTo = default(DateTime?), int localTimezoneOffset = 0)

GetCartConversionRatesReport

public CartConversionRatesReportDataDto GetCartConversionRatesReport(Guid storeId, DateTime from, 
    DateTime to, DateTime? compareFrom = default(DateTime?), 
    DateTime? compareTo = default(DateTime?), int localTimezoneOffset = 0)

GetRepeatCustomerRatesReport

public ChartReportDataDto<decimal> GetRepeatCustomerRatesReport(Guid storeId, DateTime from, 
    DateTime to, DateTime? compareFrom = default(DateTime?), 
    DateTime? compareTo = default(DateTime?), int localTimezoneOffset = 0)

GetTopSellingProductsReport

public ProductSalesReportDataDto GetTopSellingProductsReport(Guid storeId, DateTime from, 
    DateTime to, DateTime? compareFrom = default(DateTime?), 
    DateTime? compareTo = default(DateTime?), int localTimezoneOffset = 0)

GetTotalOrdersReport

public ChartReportDataDto<long> GetTotalOrdersReport(Guid storeId, DateTime from, DateTime to, 
    DateTime? compareFrom = default(DateTime?), DateTime? compareTo = default(DateTime?), 
    int localTimezoneOffset = 0)

GetTotalRevenueReport

public ChartReportDataDto<decimal> GetTotalRevenueReport(Guid storeId, DateTime from, DateTime to, 
    DateTime? compareFrom = default(DateTime?), DateTime? compareTo = default(DateTime?), 
    int localTimezoneOffset = 0)

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.