Testing your On-site Messaging Campaigns

We recommend testing your On-site Messaging (OSM) campaign during campaign creation to ensure it meets your expectations. There are a plethora of device/browser combinations available, and the actual display of the message on the website might differ from the dashboard preview. Use the Test Campaign feature to test the on-site messages on your devices.

Where to find the Test Campaign feature?

The Test Campaign feature is available in step 2 of campaign creation, as shown below.


How does it work?

The Test Campaign feature allows you to experience the look and feel of your on-site messages on your website. To receive an on-site message on your device before activating the campaign for your live users, do the following:

      1. Navigate to the test campaign section during campaign creation and paste the URL where you want to see the campaign.

      2. Ensure that the MoEngage SDK is integrated into the target URL for the test campaign to be shown.
      3. When you click on the test campaign, a new tab will open in the same browser, and your on-site message will be shown there. This test message will only be shown on the same browser on which you click the Test Campaign button of the MoEngage dashboard and will not be visible to your other website visitors.
      4. Test Campaigns are active for 30 seconds, and during this time, you will keep seeing this campaign on the same browser even after refreshing the page. This will not happen for your live campaigns.

Test Campaign for mobile web

To be able to Test Campaigns for mobile web, you can use any one of the below options:

Testing using chrome device mode Testing on a dummy URL with a live campaign

To simulate using Chrome's device mode, do the following:

  1. Open your website on your chrome browser and open developer options as shown below.


  2. Switch to mobile web view for your website as shown below.


Note: This approach will only show you an approximation, and the results may only be accurate in some cases. For more information, refer to Chrome Device Mode.

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

How can we improve this article?