Engagement Survey

The logger ships with a prebuilt engagement survey aimed at gauging user sentiment. Ultimately, the best way to understand reception to your 3D experience is by directly asking your users.

By default, the engagement survey is randomly shown to users in the experience. It is randomly prompted between 30 seconds and 3 minutes into the user's journey. Its color theme is white.

Automatic Surveying

If you wish for the engagement survey to randomly appear during the user experience, you can use the below settings when instantiating Metalitix.

val loggerOptions = MetalitixLoggerOptions(
    showSurvey = true,  // Default
    surveyTheme = SurveyTheme.WHITE,  // Default
)
logger = Metalitix.getLogger(context, apiKey, loggerOptions)

Manual Surveying

If you wish to manual trigger the engagement survey, you can use the below functions.

FunctionDescription

logger.showSurvey()

Immediately prompt the user with the engagement survey (SurveyTheme.WHITE theme).

logger.showSurvey(theme)

Immediately prompt the user with the engagement survey. Accepts either SurveyTheme.WHITE or SurveyTheme.BLACK themes.

Last updated