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.
EVGCampaignHandler for the campaign’s target.[UIViewController(Evergage) evergageScreen] as the EVGCampaignHandler.To test your campaign, put a breakpoint in your campaign handler, and navigate to the screen with that campaign handler and action/event.
When testing your mobile campaigns, consider the following.
Published. As long as the rules are easy to fulfill, you can use the app as a user would.Testing and enter test URLs in the mobile browser on the device. For more information on test URLs, see Test URLs on Device.To test your mobile campaign, put a breakpoint in your campaign handler and navigate to the screen with that campaign handler and action/event.
If your campaign handler is not getting called, there are a few things to troubleshoot:
[EVGContext trackAction:]) or item-based (see [EVGContext viewItem:]). Ensure the context is tracking an action or interaction that fulfills the rule.[UIViewController(Evergage) evergageScreen] or less commonly [Evergage globalContext]), before tracking the action/interaction, ensure [EVGContext setCampaignHandler:forTarget:] is called.[EVGContext setCampaignHandler:forTarget:]. It is case-sensitive.Also worth checking:
If you’ve followed these steps and are still having issues with your campaign, please log 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, your app must satisfy the following conditions.
UIApplicationDelegate open-URL method that Personalization can also listen to. For more information, see [Evergage(Swizzling) handleOpenURL:].Test URLs can enable all test campaigns, a specific experience, or disable testing. For information on test URL formats, see [Evergage(Swizzling) handleOpenURL:].
To start testing, once the Personalization-integrated app is on the device, open Safari on a mobile device and enter a test URL. The app should launch and you should see a confirmation message appear.
You can also find generated test URLs in the Personalization UI. Under Campaigns, select the mobile campaign you want to test. These URLs are:
[Evergage(Swizzling) handleOpenURL:].To register the Personalization URL scheme, do the following.
BundleID.evgscheme, where BundleID is the app’s Bundle ID,
as found in Personalization UI. (Select Dataset, Mobile > this app) and in
Xcode app Target: (General > Bundle Identifier). For example, if the app’s Bundle ID
is com.company.app, then the Identifier should be com.company.app.evgscheme.Newer Version Available