How to Test a Notification Without User Details on Google Chrome?

If you are not sending user details to MoEngage, to identify and target the user, it's hard to test a push notification before actually sending it. You can target a user with push token information. Perform the following steps to get a push token:

Get a Push Token

  1. Visit your HTTPS site on which you have subscribed for push notifications. In the case of an HTTP site, you must visit the actual HTTPS site under which you have subscribed.
  2. In the website window, right-click the browser and go to Inspect -> Application -> Local Storage.
  3. Click the domain that belongs to you. In the right pane, you will find the push token information under moe_push_storage or MOE_PUSH_TOKEN.
  4. Double-click the value section of this data to copy it. The following images show what that information looks like.token_in_storage.pngtoken_in_token.png

Test the Campaign

Now that you have a push token, you can find the test campaign section while creating the campaign.

  1. Go to step 2 "Content" in the Push campaign.
  2. In the Test Campaign section, from the Select Option drop-down list, select "Device push token".
  3. In the Type something here field, paste the push token information you just copied above.Screenshot_2022-09-08_at_5.14.25_PM.png
  4. Click Test to target your browser with a push token.

If you cannot see a notification after following the steps above, contact the MoEngage Support team.

To contact the MoEngage Support team, you can raise a ticket through the Support Web Form within the MoEngage dashboard. For more information, refer here.
 

Was this article helpful?
0 out of 2 found this helpful

How can we improve this article?