Identified tests
Learn how to check if the user is identified.
This test checks whether the user is identified, that is, whether they have logged in or signed up. It is the opposite of the anonymous test.
Users are identified after they log in or sign up and remain identified until they log out. Before logging in and after logging out, they are anonymous.
This test uses the signed-in, signed-up, and signed-out events to determine whether the user is identified. Without it, the user is treated as anonymous.
Syntax
This test has the following syntax:
/*<user>*/ is identified
To negate the test, you can write:
/*<user>*/ is not identified
Consider using the anonymous test instead of negating this test for better readability.
Parameters
These are the supported parameters:
- user
The user to check whether they are identified.
Examples
You can check whether a user is identified like this:
user is identified