Skip to main content

Analytics

Access aggregated data about your Mini.


The Shop Minis CLI provides access to analytics reports that help you understand how your Mini is performing. These reports provide valuable insights into user engagement, conversions, and other key metrics.

The CLI provides several commands to work with analytics reports:

  • Use the reports list command to view all available report types
  • Use the reports dates command to see available dates for a specific report
  • Use the reports get command to download report data as CSV

The following report types are available for analytics:

CONTENT_IMPRESSIONS

Shows how often content associated with your Mini is viewed by users. These are generated by the ContentWrapper component.

Fields:

  • day: The date for which data was collected (in UTC)
  • num_users: Number of distinct users who viewed the content
  • num_views: Total number of content views
  • impression_type: Type of impression. This represents where the content was seen e.g. IN_MINI
  • content_public_id: Identifier for the content
  • page_value: Page where the content was viewed

PRODUCT_IMPRESSIONS

Shows how which products are being viewed in your Mini, how often and by how many users. These are generated by the ProductCard and ProductLink components inside of Mini.

Fields:

  • day: The date for which data was collected (in UTC)
  • product_id: Identifier for the product
  • shop_id: Identifier for the shop
  • impression_type: Type of impression. This represents where the product was seen e.g. IN_MINI
  • num_users: Number of unique users who viewed the product
  • num_impressions: Total number of product impressions

SALES

Shows sales data for your Mini, including order count and revenue.

Fields:

  • day: The date for which data was collected (in UTC)
  • shop_id: Identifier for the shop
  • product_id: Identifier for the product
  • num_orders: Number of orders
  • total_gmv_usd: Total gross merchandise value in USD

USAGE_STATS

Shows how users interact with your Mini, over the course of a day.

Fields:

  • day: The date for which data was collected (in UTC)
  • num_sessions: Number of user sessions
  • num_users: Number of unique users
  • num_mini_opens: Number of times the Mini was opened

All reports are generated daily and the data is available within 24 hours of the date the data is from. Additional report types may be added over time.