Impact Block
Impact is a gamification dashboard that can be embedded within a customer hosted website and styled to match your brand standards. The Impact block showcases missions, leaderboards, and other program and user activity. It uses our AI driven mission recommendation engine to display missions to the user based on featured, importance, in progress, and other statuses.
Placement is pre-configured and cannot be changed. You can configure some settings within the block and add visual elements to a mission, point category, level, and theme.
-
Open Nitro Studio > Integrate > Blocks.
-
Click New > Impact.
-
Use the header bar to edit the block's name. The name does not need to be unique.
The Experimental drawer contains settings for experimental features that are still in active development. We do not recommend enabling any features in this drawer.
-
Use the Settings > Header drawer to show award account and user settings.
-
Use the Settings > Featured drawer to set a default image and message to show in the Featured section when no featured missions are available to the user.
-
Use the Settings > Leaderboard drawer to add leaderboards to the block. Leaderboards are optional. The leaderboard section is hidden until you add a leaderboard to the block.
- Use the Languages drawer to localize or customize the text in the block.
- Click Save ().
If you're editing an existing block, changes are pushed to any site where the block is embedded and also reflected in the preview.
Embed a Block
After you've configured your block, you can embed it on your site. Once embedded, any updates made to the block in Nitro Studio will automatically be pushed to the site with no additional code changes required.
- From the Block Builder list view or block detail view, copy the embed code ().
- Include the code to generate an OAuth token in your app.
- Insert the embed code where you want to display the block in your app or web page, and update the variable for the OAuth token.
Sample Embed Code
See Embed a Block for more information and the Block Builder for the most up-to-date embed code. The following is an example embed for an Impact block.
<div style="width: 100vw; height: 100vh">
<iframe title="Impact"
style="border: none; width: 100%; height: 100%"
src="https://blocks.bunchball.com/embeds/impact/1bfe991b-a230-3dd4e6450e5f?token=f700605e997154b29af8d7491e8"></iframe>
</div>
See also