Users are recognized in a system using identifiers such as a User ID or unique identifier generated and associated with them in the system. Users are categorized as logged-in/ registered users and anonymous users in MoEngage. For more information on these user types, refer to Users in MoEngage. We've enumerated the steps to be followed for finding logged-in and anonymous users in this article.
Steps to find a logged-in user
A user who logs into your app/website would have parameters such as Mobile Number, Email Address, or Custom Identifier- the ID (generated by the app). For each user, MoEngage also generates an identifier, the MoEngage ID. You can search for the user using any of these parameters.
To search using Mobile Number, Email address, ID, or MoEngage ID
-
-
- Navigate to MoEngage Dashboard -> Segment-> Create Segment
- Type one of the parameters in the user search box and search.
This search results in a list of users matching searched text with the parameters. - Click the user you wish to view, and the user profile of the respective user is displayed. Note: Search by MoEngage ID is not supported for a user base below 10K.
- Admin and Managers can also leave instructions for their team members on how to look up their users, as shown below.
-
Steps to find anonymous users
Anonymous users typically have only the MoEngage ID. You can, however, search for them using the advertising identifiers or web push tokens depending on the platform on which the user is available. The steps to identify users on the Web, Android, and Mobile platforms are described below.
library_add_check |
Prerequisites Ensure you have Google Advertising ID (GAID) enabled during integration for users who are not logged in. |
You can use the GAID to identify any Android user who is not logged in. GAID of an Android device is available using the following:
- Settings of the Android phone, or
-
Apps are available on the Google Play Store, which can provide the GAID of an Android device.
For more information, refer to the Sample app.
Searching user with GAID
- Navigate to Segment -> Create Segment on the MoEngage Dashboard.
- Select the Filter users by option.
- Click the User property tab.
- From the event attribute drop-down list, select Google Advertising ID (Android).
- Copy and paste the GAID into the filter box.
- Click Show count.
- From the Query result, click on the user to open the User Profile.
You can use the advertising identifier IDFA to identify any iOS user who is not logged in. You need to opt-in for IDFA tracking in MoEngage. MoEngage captures IDFA only if the user allows permission to track across the app and website.
info |
Note
|
Searching user with IDFA
- Navigate to Segment -> Create Segment on the MoEngage Dashboard.
- Select the Filter users by option.
- Click the User property tab.
- From the event attribute drop-down list, select Advertising Identifier (iOS & Windows).
- Copy and paste IDFA in the filter box.
-
Click Show count.
- From the Query result, click on the user to open the User Profile.
Web users subscribed to Web Push notifications can be found on the MoEngage Dashboard using the web push token. The steps to obtain the token are described below.
Web push token For Laptop, Desktop, and Tablets
The user must have accepted the request to receive the Web Push notifications notification. If the notification request was denied previously, then:
- Open the website
- Click on the Security Icon on the left side of the address bar
- Change the Notification option from Denied to Ask
- Reload the page and accept to receive the Web Push notification.
To view the user Web Push token, do the following:
- Install the MoEngage SDK extension for the Chrome browser of the user using this link.
- Open the website
- Click on the extension.
- Copy the push token present in the Web Push tab. (It may take a few seconds to get the push token information. If not available, reload the website and click on the extension after some time.)
Web push token for Mobile devices
Follow the steps given below to know the push token for mobile devices:
- Connect the phone to the laptop, and open the site in Chrome.
- Open this link on the Laptop.
- You’ll see your device listed with the sites opened on your phone. Click inspect on the website being tested.
- You’ll see the Inspect tab that you see on the desktop; go to the application-->local storage --> MOE_DATA --> fetch push_token.
Searching user with Web Push Token
To search for a user on the Segmentation page using the Web Push token, do the following:
- Navigate to Segment -> Create Segment on the MoEngage Dashboard.
- Select the Filter users by option.
- In the User behavior tab, select the following from the event drop-down list:
Has Executed Subscribed to WebPush. - From the time attribute drop-down list, select the time duration in which the user must have subscribed to the web push.
- Click Add attribute and filter for MOE_WEB_PUSH_TOKEN (this is the event attribute)
- Copy and paste your web push token into the filter box
-
Click Show count.
- From the Query result, click on the user to open the User Profile.