Sha256: 8f235be94bd40c4349ee2d03b9181111ea2e5283a7655ae3403896e0d55b793b
Contents?: true
Size: 875 Bytes
Versions: 2
Compression:
Stored size: 875 Bytes
Contents
reports = { finance_analysis: [ :payment_method_transactions, :payment_method_transactions_conversion_rate, :shipping_cost, :sales_tax, :sales_performance ], product_analysis: [ :best_selling_products, :cart_additions, :cart_removals, :cart_updations, :product_views, :product_views_to_cart_additions, :product_views_to_purchases, :unique_purchases, :returned_products ], promotion_analysis: [:promotional_cost], trending_search_analysis: [:trending_search], user_analysis: [:user_pool, :users_not_converted, :users_who_recently_purchased], } SolidusAdminInsights::Config.configure do |config| reports.keys.each do |report_category| config.register_report_category(report_category) reports[report_category].each { |report| config.register_report(report_category, report) } end end
Version data entries
2 entries across 2 versions & 1 rubygems