ÃÛ¶¹ÊÓƵ

Target mobile preview

Use mobile preview links to perform easy end-to-end QA for mobile app activities and enroll yourself into different experiences using your device without any special test devices.

The mobile preview functionality lets you fully test your mobile app activities before launching them live.

Prerequisites

  1. Use a supported version of the SDK: The mobile preview feature requires that you download and install the appropriate version of the ÃÛ¶¹ÊÓƵ Mobile SDK in your corresponding apps.

    For instructions to download the appropriate SDK, see in the ÃÛ¶¹ÊÓƵ Experience Platform Mobile SDK documentation.

  2. Set up a URL scheme: The preview link uses a URL scheme to open your app. Specify a unique URL scheme for the preview.

    For more information, see in Configure the Target extension in the Data Connection UI in the Mobile SDK documentation.

    The following links contain more information:

    • iOs: For more information about setting URL schemes for iOS, see on the Apple Developer website.
    • Android: For more information about setting URL schemes for Android, see on the Android Developers website.
  3. Set up the collectLaunchInfo API (i0S only)

    For more information, see in Configure the Target extension in the Data Connection UI in the Mobile SDK documentation.

  1. In the Target UI, click the More Options icon (the vertical ellipsis), then select Create Mobile Preview Link.

    alt image

  2. Select the activities that you want to preview, then click Generate Mobile Preview Link.

    note note
    NOTE
    You can select only Form-Based A/B Test and Experience Targeting (XT) activities.

    alt image

  3. Specify your app’s URL scheme.

    The URL scheme must be the same as what is present in your iOS or Android app. Repeat this process separately for iOS and Android, if necessary.

    alt image

  4. Click Generate Mobile Preview Link, then copy the link.

    alt image

Preview on Your Device

Open the link in a mobile browser on a device where you have your app installed. This app can be the production app that you downloaded from the Apple App Store or the Google Play Store. The app doesn’t need to be a special build. If you have an active preview link, you can view the experiences on the device.

  1. Open the link in your mobile browser.

    Share the link that you copied in the previous section from the Target UI to your mobile device in a convenient way, for example using text, email, or Slack.

    | preview deep link 1 | preview deep link 2 |

    Your app opens and starts the Target Mobile Preview Mode.

  2. Select the combination of experiences that you want to see, then click Launch Experiences.

    | mobile preview 1 | mobile preview 2 | mobile preview 3 |
    | mobile preview 4 | mobile preview 5 | mobile preview 6 |

Limitations

  • The view must load again for the new content to display after the Launch Experiences button is clicked. The easiest way is to switch to a different screen and then come back to the screen where you are expecting the change to happen.
  • Mobile preview is not supported for Android versions earlier than API-19 (KitKat).
recommendation-more-help
6906415f-169c-422b-89d3-7118e147c4e3