Action

Prev Next

Editorial purpose

Displays a promo-style card (headline, description, background image, logo and button) built from a Mobile Onboarding entry, whose button runs the entry's action, such as asking for notification permission or opening login. The card hides itself once the user has completed that action.

Required custom entity

The module uses one Mobile Onboarding custom entity.

Parameters

Visual

Label

Type

Description

Hide module

Toggle

When enabled, the module is hidden regardless of the action status.

Style

Selection

Visual layout style for the card. Options: fullBackground (Full Background), card (Card), cardTopImageBottom (Card Top / Image Bottom), imageTopCardBottom (Image Top / Card Bottom). Default: fullBackground.

Remove spacing top

Toggle

Remove the spacing above the module.

Remove spacing bottom

Toggle

Remove the spacing below the module.

Data

Label

Type

Description

Mobile Onboarding

Text

The MobileOnboarding entry to display. Its action field controls visibility. In the content picker, search by slug and select mobile-onboarding content. Set slug to a Mobile Onboarding entry (distribution path mobile-onboardings). Entry fields used: headline, description, button (button label), backgroundImage and logo (graphic asset tags) and action. Set action to PERMISSION_NOTIFICATION or LOGIN; with any other value, or none, the card is shown but the button does nothing. Fill button, otherwise the card is shown without a button.