Customizing the dropdown position
Optionally, the embedded init script receives a position object, you can use this to specify theleft
and top
position of the notification center.
Customizing the theme
The notification center component can be customized by passing atheme
to the init script. Checkout all possible theme properties.
Customizing the UI language
The language of the UI can be customized by passing ani18n
component to the init script. More information on all possible properties.
Handle User Interaction
In order to handle certain events like the user clicking on the notification, or clicking on an action button inside a notification, you can listen for these events and handle them accordingly.Enabling HMAC Encryption
In order to enable Hash-Based Message Authentication Codes, you need to visit the admin panel’s In-App settings page and enable HMAC encryption for your environment. The next step would be to generate an HMAC encrypted subscriberId on your backend:Example
Frequently Asked Questions
The notification bell is not showing in the iframe.
The notification bell is not showing in the iframe.
We use font awesome bell icon. Make sure you have added the font awesome CSS cdn link in the head tag.