Notification

A notification bell with unread counts and a slide-in drawer for showing unread messages inside the site experience.

Unread BadgeDrawer UIOn-Site Messaging
Notification drawer example

Introduction

The Notification widget places a bell button on the page and shows an unread badge based on notification IDs that have not yet been marked as read in local storage.

When opened, it fetches the unread notification list from the UniSignIn API and presents the messages in a slide-in drawer with an overlay, close control, and clear-all action.

Users can remove individual notifications or clear the full list, and both actions persist the read IDs locally so the badge count drops immediately.

Features

1Unread Badge
The bell button keeps a live unread count so users can see whether there are pending messages before opening the drawer.
2Slide-In Drawer
The message list opens in an animated drawer overlay that works full width on smaller screens and as a fixed side panel on larger screens.
3Local Read-State Persistence
Read notification IDs are stored in local storage, allowing the widget to filter out already cleared messages on subsequent loads.
4Single Or Bulk Dismissal
Each notification can be removed individually, and the drawer also includes a clear-all action for quickly emptying the unread list.

Integration

The widget renders on any container marked with `data-exp="unis-notification"`. The current implementation only needs the placeholder element, and it pulls the list from the UniSignIn notifications endpoint.

<div data-exp="unis-notification"></div>

Screenshots

Notification bell and open drawer
Notification bell and open drawer
Notification bell and closed drawer
Notification bell and closed drawer

Own Your Audience Data, Grow Your Revenue

The complete first-party data solution built specifically for publishers who want independence from third-party cookies

Privacy-First Login

Build reader trust with transparent, compliant authentication

Actionable Insights

Transform reader behavior into targeted content strategies

Seamless Integration

Live in days, not months, with your existing CMS

Proven Results

40% higher ad rates and 35% growth in subscriber conversion

Trusted by leading publishers to reclaim audience relationships and maximize monetization opportunities.