Legendary November · 20% + 2 months · 7d

See →

Widgets

How to add an announcement bar to your online store

An announcement bar shows a one-line message and button at the top of your site. Top or bottom, sticky or not, what Google says, mobile and setup, step by step.

RoigoPublished: 15 min read

In short

  • An announcement bar is a one-line message, usually with a button, that sits at the very top (or bottom) of your site: it's used for a sale, a shipping condition or an important notice.
  • In Roigo, the ready-made Announcement bar template is a text and a button. A top bar is part of the page flow and pushes the content down; you can make it stay in place on scroll. A bottom bar sticks to the bottom of the screen.
  • Bar types do different jobs: an announcement bar gives a fixed message; a free shipping bar updates with the cart, trust badges list your returns and payment assurances, and a countdown bar shows a deadline.
  • Google doesn't treat banners that use a reasonable amount of screen space and are easy to dismiss as a problem; it does find windows that cover the content intrusive. A thin, dismissible, single-message bar is on the right side of that line.
In this guide
  1. What is an announcement bar?
  2. Which bar for which job? Announcement, shipping, trust, countdown
  3. Top or bottom, sticky or not?
  4. What does Google say about announcement bars?
  5. How does an announcement bar look on mobile?
  6. Which pages and how often?
  7. How to write announcement bar copy
  8. What's a trust badges bar for?
  9. How to add an announcement bar to your site
  10. Pre-publish checklist
  11. How to measure an announcement bar's effect
  12. Plans and widget allowance
  13. Frequently asked questions
  14. Sources

Your store has a sale, a new shipping condition or a delivery date that's changed because of a holiday. You want to show it to everyone without knowing which page they'll land on. A banner on the home page only reaches people who visit the home page; a visitor who comes straight to a product page from Google never sees it.

An announcement bar is for exactly this: a one-line, dismissible strip that sits at the top of every page. This guide covers what it is, which bar type to pick when, the top/bottom and sticky choices, Google's guidance on small banners, what to watch for on mobile, copy examples and setup.

What is an announcement bar?

An announcement bar is a widget that shows a short message in a thin strip across the full width of your site. In Roigo the announcement bar isn't separate code but a template: the container is a Bar holding a Text block and a Button block. The ready-made template shows one white sentence and a small button on a dark background; you change the text, button, colors and the order of the blocks in the studio.

A button can do four things: go to an address (in the same or a new tab), close the bar, copy a code or open a WhatsApp chat. For a sale announcement, a link to the sale page or a “Copy code” button is usually what works.

An announcement bar helps in these situations:

  • A sale or coupon launch: “Free shipping on all orders, this week only”.
  • Delivery and operations notices: the days shipping pauses over a holiday, delivery times during busy periods.
  • New collections and announcements: the day new-season products open or the store starts a new service.

Which bar for which job? Announcement, shipping, trust, countdown

In Roigo they're all the same container (a bar); the difference comes from the blocks inside and the message they give. Which one you pick depends on what you want to tell the visitor:

BarWhat it showsWhen to pick itNotable
Announcement barA fixed message and a buttonA sale, notice or announcement; a single sentence that doesn't changeDismissible, shown once per visit
Free shipping bar“₺120 away from free shipping”, updated live with the cartWhen you have a free shipping threshold and want to raise the cart valueReads the ideasoft, Shopify and ikas cart; for carts in Turkish lira
Trust badgesLists promises such as shipping, returns and secure payment with iconsWhen you want a permanent trust strip to ease a new customer's hesitationUp to 6 badges; in the template it can't be closed and shows on every page
Countdown barA sale line, the time left and a buttonWhen the sale has a real end timeShows your own text at the end; doesn't remove itself
Ships today bar“Order within 2 hours 14 minutes and it ships today”When you promise same-day shipping with a clear cutoff timeRuns by itself in Turkey time

The rule of thumb is simple: if the message never changes, an announcement bar; if it depends on the cart, a free shipping bar; if it's your permanent promises, trust badges; if it hangs on a deadline, a countdown. Each bar type has its own guide: see the free shipping bar and countdown timer guides.

Top or bottom, sticky or not?

In the studio's Layout section, the bar's Position is Top or Bottom. They behave differently:

ChoiceHow it behaves
TopIt's part of the page flow: it pushes the content down, sits above your store's header and scrolls away with the page.
Top + Sticky on scrollIt stays at the top of the screen as the visitor scrolls. On mobile that means a slice of the screen is always taken; it suits a short message with one button.
BottomIt sticks to the bottom of the screen and respects the bottom safe area (phone notch, home bar). Other corner widgets line up above it.

A general rule: set the announcement at the top, not sticky. A top announcement is seen as the visitor enters the page and makes room as they scroll. A sticky bar only makes sense for a single piece of information visitors need to see throughout the sale, such as a countdown. A bottom bar can collide with other elements at the bottom of the page, such as a WhatsApp button or a cookie banner; check it in the mobile preview.

What does Google say about announcement bars?

Google considers promotional windows (interstitials) that make it hard to reach the main content “intrusive”; it writes that they harm the user experience and can affect search performance. Among the examples it doesn't consider a problem in the same document are banners that use a reasonable amount of screen space and are easy to dismiss (Google). An announcement bar, set up right, is in that second group.

To apply this to your own bar:

  • Keep it thin. One line of text and at most one button; keep the bar's height small with the top-bottom padding in the studio.
  • Make it dismissible. With closing on, visitors close the bar with the ×; set the frequency to Once per visit and a bar they closed doesn't come back during that visit.
  • Don't cover content. Use a bar rather than a popup. A full-screen message that blocks your store's main content carries the problems of a window, not a bar; the exit-intent popup guide covers this difference in detail.
  • Give one message. Three strips at once tire both visitors and the page layout.

Google doesn't give a pixel or height limit for a bar, so we don't give a number either. The practical test: on a phone, the bar should remain a very small slice of the screen. For the conversion side, see the ecommerce conversion rate guide too.

How does an announcement bar look on mobile?

On a narrow screen (below about 640 pixels) the bar compacts itself: if the text and button inside don't fit on one line, they wrap below, the side padding shrinks and the close button grows so it's easy to tap. A sentence that doesn't fit spreads over two lines, which makes the bar taller. So:

  • Keep the text short enough to fit on one line on mobile; avoid emojis and long sale names.
  • Check the mobile and desktop previews separately. If it takes too much room on mobile, set Which devices? to Desktop on the Targeting tab, or build a second bar with shorter text for mobile.
  • Avoid a sticky top bar on mobile; it limits the visible page. Let the bar scroll away with the page.
  • Test the button's link on mobile too: does the sale page open on a phone?

Which pages and how often?

Targeting and frequency are on the studio's Targeting and Behavior tabs. Practical settings for an announcement bar:

SettingOptionsSuggestion for an announcement bar
PagesAll pages, home, product, category, cart or custom URLAll pages. For a sale on a single category, use Custom URL with that category's address part. On cart and checkout pages only widgets targeted there appear.
When should it appear?Immediately, after a delay, on scroll, on exitImmediately. It should be in place when the page opens; a bar that arrives late pushes the page down and shifts the layout.
How often?Every page, once per visit, once a day, only onceOnce per visit: a visitor who closes it doesn't see it again during that visit. This is the template's default.
DeviceAll, desktop, mobileAll; desktop only if it takes too much room on mobile.

A permanent strip such as trust badges is different: the ready-made trust badges template can't be closed and shows on every page, because the information isn't a sale but the store's standing promise.

How to write announcement bar copy

A bar gets very little room and very little attention. Fit the sentence on one line; say what it is, when it ends and what to do. The percentages, days and codes in the examples are only examples; write the real details of your own sale.

Weak

Huge sale! Don't miss out!

Strong

Free shipping on all orders, this week only

The weak copy doesn't say what's on sale; the strong one gives the offer and its duration in a single sentence.

Weak

Click for deals

Strong

Copy the code: WELCOME10

The button should say what happens. A button that copies the code saves the visitor a step. Create the code in your store platform first, and write it exactly in the bar.

Weak

Holiday closure

Strong

No shipping from 28 to 31 March because of the holiday; orders ship on 1 April

An operations notice should state the dates clearly; visitors want to know when their order will ship. The dates are examples.

Live preview: try it

The ready-made announcement bar template: one sentence and a button. Text, button and colors change in the studio.Start with this template

What's a trust badges bar for?

Trust badges show not a sale but the store's standing promises: free shipping, easy returns, secure payment, fast support. The ready-made template lists them with icons in a strip with four badges; up to 6 badges can be added, each badge's icon is chosen from a list and its text can be changed. This bar has no deadline, no button to click and no cart-dependent value; it simply answers a new customer's hesitation of “can I buy from this store?”.

  • Only write what's true. If you say “Easy 14-day returns”, your returns policy has to back it; a badge makes a promise.
  • Don't compete with the announcement bar. If both sit at the top, the sale message gets lost. Try putting the badges at the bottom or on product pages, and the announcement at the top.

Live preview: try it

The ready-made trust badges template: four promises, with icons, in one strip. Texts and icons change in the studio.Start with this template

How to add an announcement bar to your site

  1. In Widget Studio, open Templates, pick the Announcement bar template and click Continue; the draft is created and the studio opens.
  2. Write the text and the button's label for your announcement; set the button's link to the sale page or category.
  3. Under Layout choose the position (top or bottom) and whether it's sticky; under Design match the colors to your brand.
  4. Choose the frequency under Behavior, and the pages and device under Targeting.
  5. Add the one-line install code once in your platform's admin, in the place listed below. Once the code is running, the panel shows Verified.
  6. Publish. You won't need to add the code again for future widgets.
PlatformWhere the code goes
ideasoftAyarlar → Genel Ayarlar → Özel Script Kodları (Settings → General Settings → Custom Script Codes)
ShopifyOnline Store → Themes → ⋯ → Edit code, in theme.liquid, right above </body>
ikasA new code (script) under Eklentiler (Extensions)

Because the announcement bar doesn't read the cart, it works on ideasoft, ikas, Shopify and any site where you can add code; only the free shipping bar is limited to those three platforms. For platform-specific details, see the ideasoft and ikas widget guides, and for all templates the Widget Studio page.

Pre-publish checklist

How to measure an announcement bar's effect

The widget list shows each widget's views and clicks for the last 30 days; clicks on the button show interest in the bar's message. Judge the bar's effect on sales with your own data, not someone else's numbers: in your platform's reports, compare visits to the sale page, cart value and orders on days the bar was live with days it wasn't. A bar can't be separated from the effect of a sale, a season or an ad on its own, so restart the measurement whenever you change the text or the button, and keep the other effects separate.

For all the preparation for a sale week, see the November sales guide.

Plans and widget allowance

Lite includes 3 live widgets and 25,000 views a month, and the announcement bar can be one of them. Pro includes 10 live widgets and Business 30: you can run an announcement bar, a free shipping bar and an email capture popup together. On the free trial you build and preview the widget, publishing starts with a plan. When the monthly views run out, widgets stop showing on your site until the end of the month; the rest of your site isn't affected. Plans are on the pricing page.

Frequently asked questions

How do I add an announcement bar to my website?

In Roigo you pick the Announcement bar template in Widget Studio, write the text and button, set the position and frequency, and publish. You add the one-line install code once in your platform's admin: Özel Script Kodları on ideasoft, theme.liquid on Shopify, the Eklentiler section on ikas. No coding is needed.

Should an announcement bar be at the top or the bottom?

For most announcements, at the top and not sticky. A top bar is part of the page flow and pushes the content down; the visitor sees it as they enter and it makes room as they scroll. A bottom bar sticks to the bottom of the screen and other corner widgets line up above it. A sticky top bar only makes sense for a single piece of information that needs to be visible throughout.

Does an announcement bar hurt SEO?

Google finds promotional windows that cover content intrusive and says they can affect search performance; banners that use a reasonable amount of screen space and are easy to dismiss it doesn't consider a problem. A thin, dismissible, single-message bar is on that line. Google gives no pixel limit for a bar; make sure it stays a small slice of the screen on a phone.

What's the difference between an announcement bar and a free shipping bar?

An announcement bar shows a fixed message. A free shipping bar reads the cart and updates a message such as “₺120 away from free shipping” as the cart changes; it only works on ideasoft, Shopify and ikas carts, in Turkish lira. Trust badges list your standing promises with icons, and a countdown shows a deadline.

How does an announcement bar look on mobile?

On a narrow screen the bar compacts: text and button wrap below if they don't fit on one line, the side padding shrinks and the close button grows. If the text is long, the bar grows to two lines and gets taller. Check mobile separately in the preview; if it takes too much room, shorten the text or show it on desktop only via Targeting.

Can I set up an announcement bar on the free trial?

On the trial you build and preview the bar; publishing on your site starts with Lite (3 live widgets, 25,000 views a month). No coding is needed; you add the install code to your site once.

Sources

The official documents the information in this guide is based on.

  1. developers.google.com/search/docs/appearance/avoid-intrusive-interstitials

Set up your announcement bar today

Pick the template, write your message and button, and add the code once. The preview you see in the studio is the very bar that runs on your site.

Get started

No card required · 3 live widgets on Lite

Related guides

All guides