Skip to main content

Notification widget

The Notification Widget displays popups at the bottom of the page with details about performed behaviours, unlocked rewards, points earned and more.

Notification widget showing a reward popup The Notification Widget displays popups when users earn rewards or complete behaviours

Implementation

The Notification Widget is automatically triggered in two cases:

  1. When widgets are loaded (to check for previously unavailable notifications)
  2. When a behaviour is tracked using the JavaScript SDK

All notifications are added to an HTML element with the ID "mambo-notifications". You can use this ID to style notifications through CSS Specificity rules.

Unlike other widgets, the Notification Widget doesn't require a dedicated function call in the mamboCallbacks() array as it's triggered automatically based on user actions and system events.