App analytics

Streamlit Community Cloud allows you to see the viewership of each of your apps. Specifically, you can see:

  • The total viewers count of your app (counted from April 2022).
  • The most recent unique viewers (capped up to your last 20 viewers).
  • A relative timestamp of each unique viewer's last visit.
App analytics on Streamlit Community Cloud

You can get to your app's analytics:

From your workspace at share.streamlit.io, click the overflow icon (more_vert) next to your app. Click "Analytics".

Access app analytics from your workspace through your app overflow menu

Alternatively, from the top of your workspace, click "Analytics".

Access app analytics from your workspace

From your app at <your-custom-subdomain>.streamlit.app, click "Manage app" in the lower-right corner.

Access Streamlit Community Cloud logs from your app

Click the overflow menu icon (more_vert) and click "Analytics".

Access app analytics from your Cloud logs

Once you are in the analytics modal, you can switch between apps in your workspace from the drop-down list. Remember to switch workspaces if you want to view analytics for an app in another workspace.

Switch between apps with app analytics

For public apps, we anonymize all viewers outside your workspace to protect their privacy and display anonymous viewers as random pseudonyms. You'll still be able to see the identities of fellow members in your workspace, including any viewers you've invited (once they've accepted).

priority_high

Important

When you invite a viewer to an app, they gain access to analytics as well. Additionally, if someone is invited as a viewer to any app in your workspace, they can see analytics for all public apps in your workspace and invite additional viewers themselves. A viewer in your workspace may see the emails of developers and other viewers in your workspace through analytics.

Meanwhile, for private apps where you control who has access, you will be able to see the specific users who recently viewed your apps.

Additionally, you may occasionally see anonymous users in a private app. Rest assured, these anonymous users do have authorized view access granted by you or your workspace members.

Common reasons why users show up anonymously are:

  1. The app was previously public.
  2. The given viewer viewed the app in April 2022, when the Streamlit team was honing user identification for this feature.
  3. The given viewer previously disconnected their primary identity (Google or email) and source control identity (GitHub).

See Streamlit's general Privacy Notice.

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.