Create an in-app from a template
The From template gallery offers five ready-made gamified HTML in-apps: Spin the wheel, Scratch card, Login streak, Swipe cards, and Email capture. Each comes with game logic and texts in nine languages, and creating one gives you your own copy to edit and send like any other in-app.
Each template reports what the user did as custom events. Use them to segment users and trigger Customer Journeys by the result.
Choose a template
Anchor link toEach template is a short game or form. This is what the user does in each one and when to choose it:
| Template | What the user does | Choose it to | Events |
|---|---|---|---|
| Spin the wheel | Taps SPIN, and the wheel always stops on the fifth sector | Reward a completed task with bonus points | GameResult |
| Scratch card | Scratches the card to reveal a promo code | Give a promo code as a gift | GameResult |
| Login streak | Taps Check in to check the seventh day of a week (the template doesn’t count real visits) | Reward a seven-day visit streak | GameResult |
| Swipe cards | Likes or dislikes ten interest cards and sees their top categories | Learn what the user is interested in | CardSwipe, GameResult |
| Email capture | Enters an email, accepts the consent, and picks up to three categories | Collect emails with marketing consent and favorite topics | EmailCaptured, InterestsSelected |
See Track the results for the attributes of each event.
Create the in-app
Anchor link toPick a template in the gallery and create your own copy of it.
- Go to Content → In-Apps.
- Click the arrow next to Create in-app and choose From template.

- Pick a template.

- In In-app name, keep the template name or enter your own.

- Click Create in-app.
The in-app is created right away and opens in the HTML in-app editor.
Edit texts and colors
Anchor link toChange the texts and colors of your copy on the Content tab.
- In Language, choose the language to edit.
- Change the texts and colors you need. For right-to-left languages, Text direction is already set to
rtl. - Click Save.
To undo the changes you haven’t saved yet, click Reset for the current language or Reset all for all languages. Download saves the in-app as a ZIP archive.
Prizes are texts too, such as the wheel sectors and the promo code, so you change them on the Content tab. The HTML tab holds the template code: leave it to your developer.
Texts come translated into English, French, Russian, Spanish, Portuguese, Japanese, Chinese, Arabic, and Hebrew. The user sees the in-app in the language of their device, or in English if the in-app has no texts in that language.
Set button links in Spin the wheel and Swipe cards
Anchor link toThe last button of these two templates can open a page or a screen of your app:
- Spin the wheel: in Claim button URL, set where Claim points leads.
- Swipe cards: in Button URL, set where See your picks leads.
Enter a web address, for example https://example.com/rewards, or a deep link of your app, for example myapp://rewards. If the field is empty or the value has no scheme like https: or myapp:, the button just closes the in-app.
Set the privacy policy link in Email capture
Anchor link toThe Email capture form asks the user to accept your privacy policy, and the template has no link to it. In Policy link URL, enter the address of your privacy policy page, starting with http:// or https://.

Until the field holds an http:// or https:// address, the link has a red dashed outline and does nothing on tap. The outline shows on the user’s device too, so set the URL in every language before you send the in-app.
Track the results
Anchor link toWhen a user plays, the in-app sends events to Pushwoosh, and each event carries attributes with the result. Use them to see who won or which categories users picked, and to react: build a segment by an attribute, or start a Customer Journey on an event. For example, make a segment of users who sent GameResult with result set to win.
The in-app doesn’t give the prize itself. The default texts say the points are already in the user’s account, so credit them yourself when the event comes, for example from a Customer Journey started by GameResult, or change the texts. To see how many times each event came, open its statistics.
Pushwoosh creates an event automatically the first time a user sends it, together with its attributes, so you don’t need to create the events before you send the in-app.
The events and attributes of each template are below. Button names are the default English texts of the templates.
Spin the wheel
Anchor link toThe in-app sends GameResult once.
| Attribute | Value |
|---|---|
game | spin_wheel |
result | win |
prize_type | points |
prize_value | 300 |
Editing the sector texts doesn’t change prize_value. If you change the fifth sector to a different prize, ask your developer to update the value on the HTML tab.
Scratch card
Anchor link toThe user scratches the card to reveal the promo code from the Promo code field, and the in-app sends GameResult once. The user can copy the code with the Claim gift button.
| Attribute | Value |
|---|---|
game | scratch_card |
result | win |
prize_type | points |
prize_value | 500 |
Login streak
Anchor link toThe in-app shows a week with six days already checked. It doesn’t count the user’s real visits, so send it to users who are on day six of a streak you track yourself, for example with a tag. When the user taps Check in, the seventh day is checked and the in-app sends GameResult.
| Attribute | Value |
|---|---|
game | login_streak |
result | day_7 |
prize_type | points |
prize_value | 300 |
Swipe cards
Anchor link toThe user likes or dislikes ten interest cards. Each swipe sends CardSwipe:
| Attribute | Value |
|---|---|
card_name | Card text, for example Movies |
category | Category text of the card, for example Entertainment |
reaction | like or dislike |
After the last card, the in-app shows the user’s top categories and sends GameResult:
| Attribute | Value |
|---|---|
game | swipe_cards |
result | Up to two most-liked categories in lowercase, comma-separated, for example entertainment,culture. none if the user liked nothing. |
prize_type | none |
prize_value | 0 |
card_name, category, and result carry the texts in the language the user saw. To compare results across languages, segment by the values of each language.
Email capture
Anchor link toThe form has three steps.
-
The user enters an email and checks the consent box. On submit, the in-app adds the email to the same user as an email contact, so you can send emails to this user, and sends
EmailCaptured:Attribute Value sourceinapp_formconsent_marketingtrueThe email is added only in apps with Pushwoosh iOS SDK 6.11.0 or later or Android SDK 6.7.38 or later.
-
The user picks up to three categories and taps Done. The in-app sends
InterestsSelectedwithcategories: the picked categories, comma-separated, for exampleNews,Travel. It also saves them to theFavorite Categoriestag. If the user taps Skip, nothing is sent. -
The user sees the confirmation screen and closes the in-app.
To segment by these categories, create the Favorite Categories tag first, as described in the Before you send note in Send the in-app.
Send the in-app
Anchor link toTemplate in-apps work in iOS and Android apps. A template in-app is sent like any other in-app: in a Customer Journey, as a one-time in-app, or from a push. See how to use an in-app in campaigns.