Overview
This article provides a detailed guide on excluding specific users or groups of users from being identified in your Monthly Active Users (MAU) quota. By configuring user identification properly, you can ensure that certain users, such as internal employees, are not counted in your user metrics. Follow these steps to configure user exclusion effectively.
1. Enabling User Identification
Before you can exclude users from being identified, you need to enable the User Identification feature in your account.
2. Configuring User Exclusion
Once User Identification is enabled, you can create rules to exclude specific users or groups. This typically involves adjusting your code to bypass user identification for the users you want to exclude.
Here’s a basic example of how you can achieve this using an IF statement in your code:
Example: Identifying Only Regular Users and Skipping Employees
javascript
Copy codeif (normalUsers) {
// Identify regular users
window.userGuiding.identify({
// User identification details here
});
} else {
// Skip identification for excluded users
}
Steps:
- Determine the Criteria for Exclusion: Decide how you will identify users to exclude (e.g., based on user role, email domain, etc.). Ensure you have a way to differentiate between regular users and those to be excluded.
- Modify Your Code: Implement a conditional statement in your code to check if the user meets the criteria for exclusion. If they do not meet the criteria (i.e., they are a regular user), proceed with user identification. Otherwise, skip the identification process.
- Test Your Configuration: After updating your code, test the configuration to ensure that users who should be excluded are not being identified. Verify that regular users are correctly included in your MAU quota.
By following these steps, you can effectively exclude specific users from your user identification process, ensuring accurate tracking of your Monthly Active Users (MAU) quota.