You can now test your In-app campaign as your users would see it. Initially, you could preview your campaigns and test their UI, but now, you can perform end-to-end tests throughout their run.
This feature is available for all trigger types and lets you test the trigger condition, targeting options, and delivery controls of your In-app campaign.
Testing Your In-app Campaign
To test your campaign, go to the third step of the campaign creation process and click on Test Campaign.
Configure
To configure your test, input the following details:
-
Target Platform: Choose Android as your target platform.
- Note: Currently, this feature is only available for Android devices.
-
Unique Identifier: Select the unique identifier to use for testing your campaign. You have an option to choose between six different user attributes.
- Enter the Unique Identifier: Enter the unique identifier for the device on which you want to test your In-App campaign.
After entering these details, click on Send Test Campaign to proceed further. A push notification will be sent to your device. Follow the steps in the next stage to continue.
Perform
At this stage, you will see a list of steps that you will need to perform to test your campaign. These steps will depend on the configuration you set while creating your campaign.
There can be different steps based on the following three trigger criteria -
- On App Open
- On Specific Screen
- On Custom Event
On App Open
To perform the test, follow the steps mentioned. For example, in this case, you just need to click on the push notification. Since the trigger is "On App Open", the pop-up should appear as soon as you open the app.
After performing these steps, click on View Test Results to find out whether your In-App campaign was sent successfully or not.
On Specific Screen
If you want to test In-App campaigns with the campaign trigger being On Specific Screen, you will see an additional step under Perform these steps.
This step will be: Go to screen: The screen you choose
To successfully test this In-App campaign, you must navigate to the screen that you choose to view the campaign. For example, if you want to show the campaign on your Checkout Screen, you must navigate to your app's checkout screen during this process.
After viewing the In-App campaign, click on View Test Results to proceed.
On Custom Event
This feature also allows you to test the In-App campaigns with custom trigger events. If you have created your campaign using the custom trigger, you will see that as a step while testing your campaign.
This step will be: Perform trigger: The trigger you selected.
To successfully test this In-App campaign, you will need to perform the trigger that you have selected to view the campaign. For example, if you want to show the campaign on the "Add to cart" trigger, you must click the "add to cart" button during this process.
After performing the steps, click on View Test Results to proceed.
info |
Information If you do not perform the steps correctly, the test results will display an error and you must start the testing process again. |
Results
On the test results screen, you will find out if your In-App campaign ran successfully.
- If you see a list with green checks under Test Results then your campaign has run successfully. You can also use the testing device to view the In-App campaign and see if all of the visual elements are appearing correctly.
- If you see a list with red crosses under Test Results then your campaign has not run successfully. The errors will be listed under the events and you can fix them and Re-test your campaign.
- Click on the Re-test button on the bottom right-hand side of the pop-up to re-test your In-App campaign.
- Click on the Re-test button on the bottom right-hand side of the pop-up to re-test your In-App campaign.
- If your campaign trigger was On Custom Event, then you will see another point under Test Results called Perform trigger. If you were able to perform the trigger event, there will be a green check next to the Perform trigger and your test should be successful.
- Otherwise, you will see a red cross next to the Perform trigger and an error message will be displayed detailing exactly what went wrong.
Common Errors
These are common errors that you might find while testing your campaign -
Error | Resolution |
---|---|
Push notification not clicked |
In case you haven't received the push notification, restart the test by selecting "re-test" and ensure that you have configured it correctly by following these steps:
|
Screen was not visited |
The campaign configuration either has the wrong screen name or the screen was not visited during testing. These could be possible reasons for the issue -
|
Context not visited |
The campaign configuration either has the wrong context name or the context was not visited during testing. These could be possible reasons for the issue -
|
Trigger action not performed |
The campaign configuration either has the wrong trigger action or the trigger action was not performed during testing. These could be possible reasons for the issue -
|
Trigger time not executed |
Trigger time not executed - The configured trigger time has not been waited for. Please wait [5 seconds] on the selected screen for the campaign to trigger. Please note that a delay time of less than 60 minutes is supported within campaign testing. |
Campaign not visible |
Below are the reasons why you might not be seeing your campaign. Please resolve them and re-test the campaign:
|