Test without Increase MAU

Problem Statement

Is there a way to remove test users (that have a very small lifetime in the system) from the MAU count?

Solution

Test users will count as MAU as long as they authenticate. The best approach we recommend for keeping the MAU count down while testing is to create users with the same user_id. Each time you create and delete a user with the same user_id, it will not increment your MAU count. These users can have random email addresses and will still count as just one user.

You can set the user_id in two ways:

  1. creating users with the management API and including a “user_id” value
  2. creating users with a custom database script where the user_id can also be determined.

Otherwise, the normal signup flow will assign a random user_id.