What Is Single Notification Installation?
Instead of showing all active notifications everywhere, you can install a specific notification on specific pages. This gives you precise control over what appears where on your website.
When to Use It
Single notification installation is useful when:
- You want different notifications on different pages
- You only want a notification on your homepage or landing page
- You're running page specific promotions or campaigns
- You want to test a notification on one page before rolling it out everywhere
How to Install
- Go to the notification you want to install in your dashboard
- Find the Installation section
- Copy the notification specific code
The code includes a unique notification code instead of your Site ID:
<script src="https://app.notifybubble.com/widget.js"
data-notification-code="YOUR_NOTIFICATION_CODE"></script>
- Paste the code on the specific pages where you want this notification to appear
Comparing Installation Methods
| Feature | Global (Site ID) | Single (Notification Code) |
|---|---|---|
| Shows all active notifications | Yes | No |
| Shows one specific notification | No | Yes |
| Needs code changes when adding new notifications | No | Yes, for each new page |
| Best for | Entire website | Targeted pages |
| Maintenance effort | Low | Higher |
Mixing Both Methods
You can absolutely use both methods on different pages of your website. For example:
- Use global installation on your main website pages
- Use single notification installation on specific landing pages with targeted promotions
Just make sure you don't accidentally install both on the same page, as that could show duplicate notifications.
Each notification has its own unique code. You'll find it in the installation section when viewing or editing that notification in your dashboard.
