Skip to main content
Digia as CEPChange your setup in the sidebar

Gamification

Run scratch cards, spin-the-wheel and other reward campaigns with Digia Engage as your CEP: 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.

Digia decides when each campaign shows. Your app reports what the user does with Track events.

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​