Newer Version Available
Let us know so we can improve!
This article takes you through the following.
The Event Stream on the Personalization UI enables you to verify the events and actions your app sends to Personalization.
To check the incoming event stream, do the following.
If you followed the steps in the Tracking guide and are still not seeing any mobile events appear in the specified dataset, get assistance by logging a support ticket.
Note
You’re ready to test your mobile campaigns once you’ve completed the following, as described in the Mobile Data Campaigns and Tracking guides.
CampaignHandler for the campaign’s targetScreen as the CampaignHandlerPut a breakpoint in your campaign handler, and navigate to the screen with that campaign handler and action/event.
Published. As long as the rules are easy to fulfill, you can use the app as the user would.Testing and enter test URLs in the mobile browser on the device. For more information, see Test URLs on Device.If your campaign handler is not getting called, there are a few things to troubleshoot:
getScreenForActivity, not getGlobalContext). Additionally, if the campaign has an action rule, ensure the action being sent matches the rule.setCampaignHandler(CampaignHandler handler, String target). It is case-sensitive.Also worth checking:
If you followed the steps and are still having issues with your campaign, get assistance by logging a support ticket.
Note
To easily manage test campaigns from the device without any additional code, you can open campaign-related URLs in the mobile browser. For this to work, you app must be configured to use its Personalization-generated URL Scheme. For more information, see EvergageActivity.
Test URLs can enable all test campaigns, a specific experience, or disable testing. For information on test URL formats, see Test URLs on Device.
To start testing, once the Personalization-integrated app is on the device, open the default web browser on the mobile device and enter a test URL. The browser will attempt to redirect to the app’s Personalization URL scheme. On some devices, you may need to manually click the HTML link that appears. Once the test URL is fully processed, you should see a confirmation message.
You can also find generated test URLs in the Personalization UI. Under Campaigns, select the mobile campaign you want to test. These URLs are generated using the Personalization AppID of the first app used in a Campaign Source Rule, or the AppID of the first enabled app found.
These are the URL formats to type into the mobile browser on the device. Android typically requires a redirect or link-tap from the mobile browser to actually trigger an intent-filter. These URLs are based off the app’s Personalization AppID, but will attempt to redirect and display a tappable link to the format based off the Personalization URL Scheme (as defined in processIntent).
| Purpose | URL Format | Description |
|---|---|---|
| Test all campaigns | https://mobile.evergage.com/t?a=<AppID>&t=all | In addition to default behavior of showing mobile campaigns in Published state, also show mobile campaigns that are in Test state. All campaign rules will still be active. |
| Test a specific experience | https://mobile.evergage.com/t?a=<AppID>&t=<ExpID> | In addition to default behavior of showing mobile campaigns in Published state, also show the particular experience of a mobile campaign, regardless of that campaign’s state and rules that normally determine when its shown. |
| Stop testing | https://mobile.evergage.com/t?a=<AppID>&t=none | Return to the default behavior of showing mobile campaigns in Published state only. |
For the URL formats listed in the preceding table:
<AppID> is the Personalization-generated App ID for the app, which is located in the Personalization UI: Select Dataset, then Settings > Sources > Apps > (your app).<ExpID> is the ID of a specific campaign experience, which can be found in the Personalization UI: Select Dataset, then Campaigns > Campaign Summary of the campaign the experience is in.a, the app ID, and t, the campaigns or experience to test.Newer Version Available