Zubby AI
  • Pricing
Sign inStart free trial
  • Welcome
  • Loyalty & referrals
  • Broadcasts
  • Segments
  • Promo bars
  • Affiliates
  • Content Studio
  1. Docs
  2. Promo bars

Promo bars

A promo bar is a site-wide banner pinned to the top of every storefront page. Use it to surface a discount code, a free-shipping threshold, or a limited-time message. Active bars are served to your storefront by a small embed script, can be scheduled with start and end times, and can be geo-filtered so the right shoppers see the right offer. Shoppers can dismiss a bar for the session.

Where it lives

Dashboard → Promo bars. The page gives you the embed snippet, a composer with a live preview, and a list of your saved bars (up to 50, newest first). Active bars are served to the storefront first.

Installing the embed

Add one script tag to your theme’s layout. It carries your store id and widget key and pulls the active bar at page load:

<script
  src="https://<your-zubby-domain>/api/v1/widget/promo/embed.js"
  data-store-id="<your store id>"
  data-widget-key="<your widget key>"
  async defer
></script>

The exact snippet — with your store id pre-filled — is shown on the page under Embed instructions. On Shopify and WooCommerce the script is typically already present alongside the chat widget; see widget embed codes.

Fields

FieldRequiredWhat it does
NameYesInternal label for the bar — not shown to shoppers.
HeadlineNoThe banner copy shoppers read.
CodeNoA discount code rendered as a pill next to the headline.
Starts atNoISO datetime the bar begins showing, e.g. 2026-06-01T00:00:00Z.
Ends atNoISO datetime the bar stops showing.
Free shipping thresholdNoAn order value above which shipping is free.
Country codesNoISO 2-letter codes (e.g. US,CA,GB) — restrict display by shopper geo.
Active—On/off switch; only active bars are served.

Only Nameis required to save. If you leave the headline empty but set a free-shipping threshold, the bar falls back to a “Free shipping on orders over $X” message.

Live preview while you edit

The composer renders the bar exactly as shoppers will see it — headline, code pill, geo tags, and a paused state — above a mock store header. It updates as you type, so you can dial in the copy before saving.

Scheduling

Start and end times are ISO datetimes (UTC recommended, with a Z suffix). A bar with a future starts at stays hidden until then; one past its ends atstops showing. Leave both empty for an evergreen bar that runs while it’s active. You can also flip a bar on or off instantly with the Pause / Activate button regardless of its schedule.

Geo-targeting

Set one or more country codes to show a bar only to shoppers in those countries — useful for region-specific shipping offers or currency-specific codes. Codes are uppercased automatically. Leave the field empty to show the bar everywhere. The saved-bar row displays the active country codes as a badge so you can see targeting at a glance.

Multiple active bars

Saved bars are ordered by start date and active rows are served first, but a busy storefront with several overlapping active bars can get noisy. Keep one primary bar live at a time, and use scheduling to hand off cleanly between campaigns rather than toggling many at once.

Managing saved bars

Each saved bar shows its status badge, name, code, geo badge, schedule window, and headline, with Edit, Pause/Activate, and Delete actions. Edits save in place; changes propagate to the storefront on the next page load.

Gotchas

  • The embed script needs both data-store-id and a valid data-widget-key. A missing or wrong key means no bar renders — the same key that authorizes the chat widget.
  • Country codes must be ISO 2-letter (US, not USA or United States).
  • Dismissal is per session — a shopper who closes the bar sees it again on a fresh session.
  • Datetimes are parsed as ISO; if a schedule isn’t taking effect, check the format and the timezone suffix.

Related

  • Widget embed codes — where the storefront script lives.
  • Audience rules — target storefront experiences by cohort.
  • Cart & browse rescue — pair an on-site bar with off-site recovery.
  • Broadcasts — push the same promo to a segment by email or SMS.

Was this page helpful?

Still stuck? Contact support with the URL of this page (/docs/promo-bars).

PreviousSegmentsNextAffiliates

Footer

Zubby AI

The AI sales agent for Shopify and WooCommerce. Learns your store, guides shoppers in real time, and recovers the revenue you would have otherwise lost.

System status

Product

  • All Features
  • AI Sales Agent
  • Cart Rescue
  • Widget Designer
  • Multi-Language
  • Pricing
  • Changelog

Solutions

  • Solutions Hub
  • Cart Recovery
  • Product Discovery
  • 24/7 Support
  • Upsell + Cross-sell
  • Conversion Optimization

Industries

  • Fashion & Apparel
  • Beauty & Cosmetics
  • Electronics
  • Jewelry & Accessories
  • Food & Beverage
  • Health & Wellness

Integrations

  • Shopify
  • WooCommerce
  • All integrations
  • vs Rep AI
  • vs Tidio
  • vs Klaviyo
  • vs Gorgias

Resources

  • Documentation
  • Guides
  • ROI Calculator
  • Glossary
  • Answers (AI Q&A)
  • Blog
  • Case Studies

Company

  • About
  • Careers
  • Contact
  • Trust
  • Security
  • Status
  • Privacy
  • Terms

© 2026 Zubby AI, Inc. All rights reserved.

Built for merchants.Made with care.