How to Avoid Increasing Monthly Active User Count With Test Users

Overview

This article explains how to manage test users without affecting the Monthly Active User (MAU) quota. When testing an application, creating and authenticating test users can increment the MAU count, potentially leading to unnecessary quota usage.

Applies To
  • Test User Accounts
  • Monthly Active Users (MAU)
Cause

Test users are counted towards the MAU total as long as they successfully authenticate in the system. Each unique user who authenticates in a billing cycle contributes to the count.

Solution

To prevent test users from increasing the MAU count, create and delete users with the same user_id. Even with different email addresses, these users will only count as a single MAU.

The user_id can be set in the following ways:

  • Create users with the management API and include a user_id value in the request.

  • Create users with a custom database script where the user_id can be determined.

NOTE: The standard sign-up flow assigns a random user_id and will not prevent an increase in the MAU count.

Recommended content

No recommended content found...