App views are the different locations where your app can be displayed within Whop.

There are currently 4 different views:

ViewDescriptionExample
customerAccessible by the user when they are viewing a whopDisplaying sports picks to paying users
adminAccessible by the creator when they are editing a productUploading a file that the user can download for that specific app instance
analyticsAccessible by the creator in the hub under the “Analytics” tabDisplaying detailed analytics about this app instance

Each view can have different variables passed to it. For example, the customer view will have variables such as the experienceId passed to it. These are set in the URL, and you can find more information about them here.


User View

The user view is the view that customers see when they are viewing your product on Whop.

Example use cases:

  • Displaying sports picks
  • Displaying a video
  • Custom AI chatbot

Variables

Below are the variables that are available to the customer view.

ViewsDescription
companyIdThe ID of the company the user purchased the product from
experienceIdThe ID of the experience

Admin View

The admin view is displayed on the Edit Product Page. This view is only accessible by the creator. It allows the app to have context about a specific product.

Example use cases:

  • Uploading a file that the user can download for that specific product
  • Configuring the prompt of a chatbot for that specific product

Variables

ParameterDescription
companyIdThe ID of the company
experienceIdThe ID of the experience

Analytics View

The analytics view is displayed on the “Analytics” tab. This view is only accessible by the creator. It allows the developer to offer a specific page for analytics about their app instance.

Example use cases:

  • Showing how many users viewed this course in the past week
  • Showing your most active users in your community

Variables

ParameterDescription
companyIdThe ID of the company
experienceIdThe ID of the experience