Mobile SDK Best Practices

Before you get started using the Mobile SDK, we recommend the following to enhance performance and maintain simplicity.

Avoid redundant Choose calls

The Choose Variations method can be called for multiple campaigns simultaneously, which is the most efficient approach. Whenever possible, make a single call instead of multiple calls, one for each campaign. We recommend calling it once for all campaigns on each screen.

Use isImplicitPageview

If you find a need to call Choose Variations followed by a Track Page Views call, instead, set isImplicitPageView = true in the Choose Variations call. This automatically reports a page view, eliminating the need for a separate call.

Use isImplicitImpressionMode

When you want to call Choose Variations and report impressions for variations that are guaranteed to be displayed to the user, set isImplicitImpressionMode = true in the Choose Variations call. This will automatically report an impression for all the variations returned from the Choose Variations call, eliminating the need for additional calls.