Analytics
Access aggregated data about your Mini.
Anchor to OverviewOverview
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 listcommand to view all available report types - Use the
reports datescommand to see available dates for a specific report - Use the
reports getcommand to download report data as CSV
Anchor to Report typesReport types
The following report types are available for analytics:
Anchor to CONTENT_IMPRESSIONSCONTENT_ 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 contentnum_views: Total number of content viewsimpression_type: Type of impression. This represents where the content was seen e.g.IN_MINIcontent_public_id: Identifier for the contentpage_value: Page where the content was viewed
Anchor to PRODUCT_IMPRESSIONSPRODUCT_ IMPRESSIONS
Shows 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 productshop_id: Identifier for the shopimpression_type: Type of impression. This represents where the product was seen e.g.IN_MINInum_users: Number of unique users who viewed the productnum_impressions: Total number of product impressions
Anchor to SALESSALES
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 shopproduct_id: Identifier for the productnum_orders: Number of orderstotal_gmv_usd: Total gross merchandise value in USD
Anchor to USAGE_STATSUSAGE_ 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 sessionsnum_users: Number of unique usersnum_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.