Navigation
  • Users >
  • Viewing User Data

Viewing User Data

On the Users page, you can view data about a user. This data includes information about the device(s) they have used to connect to your Stitch app, the data provided by various Auth providers, and a detailed activity log.

Viewing a User’s Devices

When a user connects to your Stitch application, Stitch logs information about the device that was used to connect, like this:

../../_images/devices.png

Logged information includes:

  • The device platform, which will be either an http client (“chrome”, “firefox”, “phantomjs”, etc.) or a mobile OS (“ios”, “android”, etc.)
  • The platform version.
  • Your app version on the device.
  • A unique device ID.
To view this information, from the list of Users, expand any
user and then expand Devices.

Viewing a User’s Provider Data

Whenever a user connects to your MongoDB Stitch application and authenticates using one of the authentication providers you have enabled, the provider data is logged.

../../_images/provider.png

You can view this collection of Provider Data from within the list of Users by doing the following:

  1. Find a user in the list of Users.
  2. Expand the user, and then expand the Provider Data.

Viewing a User’s Activity Log

MongoDB Stitch logs every request made by each of your Stitch application users, as well as every function call that was executed as part of their request. In addition, if a function writes to the log using console.log, console.warn, or console.error, these entries will be included within the function’s log output.

../../_images/user_log.png

To view a user’s request logs, follow these steps:

  1. Select Users from the left-side navigation.
  2. Under the Users tab, find a user in the list and click on the ellipsis (...).
  3. Click View activity. You will then be redirected to a log of requests made by that specific user. You can expand an entry to view details for that request.