How To Create a Website Notification Banner Code-Free? [+ 3 Best Practices]

What is a website notification banner?

A website notification banner (also known as notification bars, announcement bars, alert banners, sticky bars, or floating bars) is a small bar that often appears on the top of your website, usually used to communicate updates, promote a new feature, or announce limited-time offers.

userpilot-notification-banner
Notification banner created with Userpilot.

What are the benefits of website notification banners?

If your website/app/tool/product isn’t stuck in a static state, then you’ll need to alert and announce updates to your users regularly. How do you do that?

When it comes to feature/product announcements or important updates, there are several approaches. You can use modals, tooltips, hotspots, and many more. But notification banners have some advantages over those types.

Let’s see why notification banners are an excellent way to reach the right people with the right message and what makes them different.

Ready to dive in?

Notification bars are less intrusive

Unlike other in-app notification methods, notification banners are less intrusive and don’t hurt users’ experience. They take up about 5% of the entire page, and it’s not overwhelming for the users. As notification bars are non-disruptive, users don’t feel the urge to dismiss the bar and tend to engage with the product/app more.

Notification bars are attractive

Since notification bars are often placed at the top of the page, they immediately grab the user’s attention. This means that users always see the announcement which increases your chances of higher engagement.

What are the website notification banner use cases?

Website notification banners have a lot of use cases depending on your goals. You can use them to communicate important news, notify users about feature announcements, product updates, policy changes, special deals or even collect customer feedback.

Here are several examples and use cases of how you can utilize notification banners and get the most of them.

Important news announcements

Sending out important news updates by email may end up in the junk folder, and in-app notifications can sometimes be annoying for users. So what should you do?

Use notification banners to announce them right in the app. This is how we do at Userpilot.

notification-banner-userpilot
Notification banner in Userpilot.

New feature announcements

Do you have a new feature ready that you’ve been working on lately? Great! A website notification banner is an effective way to tell your users about this kind of information.

Rather than simply waiting for your customers to discover new features, you can use a notification banner to let them know about the exciting news.

These tiny notification bars can lead users to feature discovery which will result in feature adoption later.

kitwind-new-feature-announcement-banner
Kitwind’s new feature announcement bar.

NPS surveys

Banners are also a great way to collect customer feedback. This is how Asana uses notification bars to show an NPS survey to its customers. It is strategically placed at the top of the website to ensure that it is not missed by customers.

And the fun part is that you don’t need to have programming skills to create such kinds of NPS surveys. With a tool like Userpilot, you can create NPS surveys like this code-free.

asana-nps-banner
Asana NPS survey banner.

Discount or special offer announcements

This is one of the most common uses of announcement bars. With announcement bars, you can easily let users know about a discount or sale because they are often placed near the top of the website.

You can display a coupon that can be copied and applied during checkout. Countdown timers can also be used to grab the attention of your audience and create FOMO. Your users will most likely take action when they see a countdown timer on your website since they know the sale/promo will not last forever.

Here is how Optinmonster does that.

optinmonster-hello-bar-example
Optinmonster uses a countdown timer banner to capture attention and create FOMO.

System maintenance and downtime announcements

Your announcement bar is the perfect place to share upcoming maintenance notifications to alert users. You can also email users to notify them about maintenance or downtime but it’s not as effective as announcement bars.

Emails can get lost in the customers’ inbox, but in-app notification bars make sure that logged-in and active users don’t miss the announcement.

announcement-banner
Announcement banner used to announce system maintenance.

Lead capturing

Are you aware that you can use sticky bars to capture leads? To drive signups, Mailmodo uses a floating sticky bar in the footer of its product page. The bar appears once the user has scrolled to the middle of the page.

When users scroll down the website it indicates that they are interested in the product/service enough and you can take action to drive more engagement and convert them to customers.

Use notification banner to capture leads
Use a notification banner to capture leads.

Website notification banner best practices

As mentioned above, website notifications banners are a great way to communicate and engage with your customer. It has a lot of benefits but there are also some best practices that you need to follow.

Now let’s talk about some rules to make your notification bars as effective as possible.

Use a minimal amount of text within a notification banner

The notification bars are small banners, so it makes sense to keep the text within the bar to a minimum.

Your objective is to communicate your message in the shortest time possible without distracting your users. Don’t load it with too many images or make it several paragraphs long; it’s not a modal.

Best practice: keep your texts short and in a single line

Use links or call-to-action buttons to guide users. However, if you are adding a call to action, make sure that it is between one or two links to keep the user focused on what’s important. Too many links will confuse your users, and they will not take action.

Include a date in your alert banners if your alert notifications contain time-sensitive information, so your users will know if it’s the most up-to-date information.

invision-promo-banner-in-app-messages
Invision promo banner.

Make notification banners dismissible

Users should always have the option to close the announcement bar; otherwise, it will lead to a bad user experience.

Ensure that you keep the notification bar hidden when the user navigates to another page. If your alert banner keeps popping up on every page, you will annoy your users.

Userpilot can help you create notification banners that are easily dismissible. The best thing about these banners? They are code-free and you can roll them out within a few minutes.

uber-dissmissable-banner
Dismissible website announcement bar from Uber.

Choose a color scheme that’s aligned with your brand

Website notification banners must be visually appealing and accessible to all visitors. A notification bar should be large enough to catch attention and convey your message, but it shouldn’t take over the browser window or blend in with your website’s background color, making it difficult to read.

Make sure that the design of your in-app notification bar is aligned with your brand style while still standing out from the rest of your site.

Ensure that your website notification bar meets the AA standard of the Web Content Accessibility Guidelines (WCAG), which requires a 3:1 contrast ratio for large text and a 4:5:2 for a standard text.

How to create in-app banner notifications with Userpilot?

As you now know what website notification banners are, their benefits, and how to use them, let’s learn how Userpilot can help you create them in just a few minutes.

Userpilot is a no-code product onboarding and adoption tool that allows you to create in-app notifications, including banners. You have a variety of options to choose from: modals, tooltips, hotspots, slideouts, banners, etc.

Did I also tell you it is so easy to get started? You don’t need to have programming skills at all. All you need is to install Userpilot’s Chrome extension and insert a small code on your web app/product.

The rest of the process is code-free. Now let’s try to create a nice notification banner in Userpilot.

Create a spotlight

Spotlights are in-app messages that appear on your site. You can use spotlights to increase engagement and share information by adding on-demand contextual help and announcements to your users.

There are different types of spotlights, including tooltips, hotspots, and notification bars.

To create a spotlight with Userpilot, you should go to the “engagement layer,” click on spotlights, and choose the URL you want to build the spotlight on.

spotlights-userpilot
Create a spotlight with Userpilot.

Choose the spotlight type

You can choose from native tooltips, hotspots, and banners to display your in-app notifications. As we want to create a website notification bar, we will be clicking on “banners.”

After choosing, click on “add spotlight,” and you’re good to go.

spotlight-types-userpilot
Create in-app notifications with Userpilot.

Adjust the text and settings

After choosing a notification bar spotlight, it is time to customize it. Write the in-app notification bar text and adjust the settings accordingly. Don’t forget to use the best practices discussed above when writing your notification bar text.

Remember, the goal of your website notification bar is to communicate your message in the shortest way possible, so you don’t distract your users.

Keep in mind that you can create announcement bars for different use cases depending on your goal. It’s not limited to creating just standard scheduled maintenance notifications as some of our competitors offer.

userpilot-banner
Create announcement banners in Userpilot.

Also, you can customize the appearance, location, and placement of your spotlight. Experiment with different colors, and styles and see which are more aligned with your brand. You can also use A/B testing to determine which notification bars get higher engagement so that you can act on them and make improvements.

Banner settings in Userpilot.
Banner settings in Userpilot.

Preview and publish

After you’re done with designing and writing the text for your notification bar, you can hit the “publish” button and it will appear on your webpage or app.

banner-created-in-userpilot
Notification banner created with Userpilot.

There is also a preview feature that allows you to see how your announcement bar will look in real-time.

banner-preview-publish
Banner preview and publish feature created with Userpilot.

As you see creating a notification bar is a piece of cake with Userpilot.

Conclusion

Now it’s time for a recap.

Website notification banners are a great way of communicating with your users, increasing engagement, and capturing leads. Remember to follow the best practices discussed above and you’re all set. Always make experiments, try different texts, and designs and see how users react to those changes and which ones receive higher engagement.

Want to create beautiful notification banners that will instantly grab the attention of your users and boost their engagement? Get a Userpilot Demo and see how easily you can do it.

About the author
Userpilot Team

Userpilot Team

All posts