Web Push Notifications Integration validation is performed manually to verify if the Push notifications are working.
The validation procedure contains the following steps
- Push Token Generation
- Push notification received on the device
- Notification Redirection
Push Token Generation
- On your profile page, the Web push icon has to be green.
- You can also check this by installing the MoEngage extension on your browser (https://chrome.google.com/webstore/detail/moengage-sdk/dhggnkfnnoebbfofpimfehcklnekmbgi)
Push notification received on the device
- Create a general Push campaign on the Dashboard for your device
- Test the notification from the test option at the 3rd stage of creation.
- If you get a successful response create the campaign. If failed, check for the failure reasons.
- Provide the redirection URL while creating the campaign. And once the message is received click on it and check if it is redirecting you to the URL
- Once the campaign is sent out, the campaign stats should show the impressions and clicks.
Validation Success Criteria
- Push token has to be generated for the users
- Notification should be displayed correctly
- The redirection should work as expected
- The Impressions and clicks have to be captured.
If tokens are not generated correctly, the reachable user base will be less than the actual users. For more information about fixing token-related issue, refer to Configuring Web Push Settings.
Incorrect Redirection will lead to confusion/miss in opportunities.
If the clicks and impressions are not recorded, we cannot understand the impact of the campaign.
For more information about fixing impressions and click-tracking-related issue, refer to Configuring Web Push Settings.
MoEngage recommends download and installs the Chrome Extension for integration validation.
Have difficulties while integrating our Web SDK?
You don't have to wait for our awesome customer support to get back to you. Try our MoEngage Assist Chrome Extension (Beta). Here is a gist of what our assist can do -
- It will be active only on those pages where our SDK is integrated
- Gives basic information of all the configurations
- Can forcefully fetch the configurations (instead of waiting for 24 hours to refresh)
- Shows any errors in serviceworker integration
- Shows the list of events and attributes tracked
- Informs whether the user is created/subscribed or not.
- Can track any events
- Can add any attributes
- Informs whether Onsite and Web Personalization is enabled or not
- Shows the list of Onsite Campaigns and trigger condition in a nice readable format
- Shows the list of Web Personalization Campaigns and trigger condition in a nice readable format
- Can forcefully fetch the Onsite and Web Personalization campaigns (instead of waiting for 15min to refresh)
Enabling MoEngage Assist
Just set assist key to true in the initialization object. If your developer is not around to help, just open your browser console and type
MoengageAssist(); to enable MoEngage Assist:
You can also open your browser console and call this function:
//This function Enables Moengage Assist: MoengageAssist(); //This code disables Moengage Assist: MoengageAssistDisable();
Reach out to us directly from your MoEngage Dashbaord -> Need Help? -> Contact Support or send an email to firstname.lastname@example.org.