Testing your On-site Messaging Campaigns

Overview

You should test your On-site Messaging (OSM) campaigns during creation. This ensures that the messages appear as expected on different devices and browsers. The message may display differently on your website than in the dashboard preview. Use the Test Campaign feature to preview on-site messages on your devices before activating them.

Access the Test Campaign Feature

The Test Campaign feature is on the second step of campaign creation. See the following image:

Screenshot showing the Test Campaign feature in the MoEngage dashboard.

Use the Test Campaign Feature

The Test Campaign feature lets you see how your on-site messages will look on your website. To send a test message to your device before you activate the campaign for live users, follow these steps:

  1. On the Test Campaign section during campaign creation, paste the URL where you want to view the campaign.

    Screenshot showing the URL input field for a test campaign.
  2. Make sure the MoEngage SDK is integrated on the target URL for the test campaign to display.
  3. Click the Test Campaign button. A new tab opens in the same browser, and the on-site message displays there. This test message is only visible in the browser where you clicked the button in the MoEngage dashboard; it is not visible to your other website visitors.
  4. Test campaigns remain active for 30 seconds. During this time, the campaign displays in the same browser even after you refresh the page. This behavior differs from live campaigns.

Test on Mobile Web Devices

You can use one of these options to test campaigns on mobile web devices:

Test Using Chrome Device Mode Test Using a Dummy URL

To simulate with Chrome's device mode, follow these steps:

  1. In your Chrome browser, open your website and then open Developer Options.

    Screenshot showing how to open developer options in Chrome.
  2. Switch your website to mobile web view.

    Screenshot showing how to switch to mobile view in Chrome developer tools.

Note: This method provides an approximation. Results may not always be precise. For more information, see Chrome Device Mode.

Next Steps

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

How can we improve this article?