Skip to main content
WebEngageChange your setup in the sidebar

Gamification

Run scratch cards, spin-the-wheel and other reward campaigns from WebEngage with Digia Engage: identify users, add the rewards page, set up webhooks.

Gamification campaigns, such as a wheel or a scratch card, give users rewards. Gamification is available in the Android, iOS, React Native and Flutter SDKs.

WebEngage decides who sees each campaign. Your campaign team connects it with digia_campaign_key. See Step 5: Connect WebEngage campaigns.

1. Identify users​

Games need a user ID, and the user hash when user verification is on. Set them in Step 4: Identify users.

2. Open the rewards page​

The rewards page shows the user's game chances and rewards. The SDK draws it. Open it from a "My rewards" button or a link. Identify the user before you open it.

import { Button } from 'react-native';
import { Digia } from '@digia-engage/core';

export function RewardsButton() {
return <Button title="My rewards" onPress={() => Digia.openRewards()} />;
}

On iOS, including Flutter apps running on iOS, the rewards page needs iOS 17 or later.

3. Handle rewards on your server​