https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
d

damp-printer-48360

07/11/2023, 10:02 AM
Hi everyone, The FAQ indicates the following regarding experiments with both anonymous and logged-in users:
If your application has both logged-in and anonymous users, we recommend using two identifier attributes:
id
which is the database identifier of logged-in users (or empty string for anonymous)
deviceId
(or
sessionId
, etc.) which is a random anonymous hash, persisted in a cookie or local storage. This should always be set for both anonymous and logged-in users.
However, as of Build: c720686 (2023-05-11), it does not seem possible to select more than 1 attribute based on which to assign the value (it’s a single choice dropdown menu). How are supposed to use 2 identifier attributes?
9 Views