Example: Reward a Limited Number of Users for Viewing Pages in Bunchball Go
The following steps describe how to reward a limited number of users for exploring pages within a Bunchball Go program. This example will show how to create a mission that awards the first 100 users who view their profile, available missions, and the leaderboard.
This mission will become inactive once the 100 mission limit is reached. If you want the mission to stay active after the 100 user limit has been reached, use the Rewards tab to limit the reward rather than limiting the mission. Limiting rewards keeps the mission active, but users no longer receive the reward.
Note: Page names may differ depending on your Bunchball Go setup. Use the page's href value (discoverable by hovering over the icon in the navigation pane) to configure metadata correctly.
Create the Mission
- Open Motivate > Missions > New > Mission.
- In the New Mission modal:
- In the Name field, enter Ready, Set, Go! .
- In the Description field, enter Be one of the first 100 to check out your profile, available missions, and the leaderboard to earn bonus points.
- Browse to and select an image, and click Save.
Click the image to see this step
- On the Details tab:
- In the Action Phrase field, enter {username} was one of the first 100 to complete {challengeName} and earn {points} bonus points.
- In the Importance field, select Very High.
- Click Save.
Click the image to see this step
- On the Availability tab:
- Under Total Completion Limits, select Limited, and enter 100.
- Click Save.
Click the image to see this step
- On the Rules tab, create the first rule.
- Click New Rule, select Number of Actions, and then click Continue.
- In the number field, enter 1.
- In the Rule Description field, enter View your profile.
- In the Rule URL field, enter #/profile. This creates a hyperlink to the profile page from the task.
- Click New Action.
- In the Select Action field, search for and select the HUB_VIEW action. In Bunchball Go, this action is logged when a user visits a page within the site.
- In the Metadata Name field, enter view.
- In the Value field, enter profile.
See Bunchball Go Actions and Pages for more information on the actions, pages, and metadata used in a Bunchball Go program.
- Click Save Action Criteria, then click Save for the rule.
Click the image to see this rule
- On the Rules tab, create the second rule.
- Click New Rule, select Number of Actions, and then click Continue.
- In the number field, enter 1.
- In the Rule Description field, enter View your missions.
- In the Rule URL field, enter #/next_steps.
- In the Metadata Name field, enter view.
- In the Value field, enter next_steps.
- Click Save Action Criteria, then click Save for the rule.
- Verify the Must complete ALL of the following option is selected.
Click the image to see this rule
- On the Rules tab, create the third rule.
- Click New Rule, select Number of Actions, and then click Continue.
- In the number field, enter 1.
- In the Rule Description field, enter View the leaderboard.
- In the Rule URL field, enter #/community.
- In the Metadata Name field, enter view.
- In the Value field, enter community.
- Click Save Action Criteria, then click Save for the rule.
Click the images to see this rule and the Rules tab
- On the Rewards tab:
- Click Add a reward.
- In the Reward Type list, select Points.
- In the Amount field, enter 20, and click Save.
- Click Add a reward.
- In the Reward Type list, select Badge.
- Click Upload Image, and browse to and select the same image you uploaded in Step 2.
- Click Save.
- In the header section, click Make Active.
Click to see this mission in the Missions web component
See also