Follow these steps to display a Top Bar Message to visitors on your site.
- In the site editor's side panel, click More > Personalization > Add Rule > Top Bar Message.
- Select the Trigger configurations:
- Available conditions include Device used (desktop or mobile), Visitor Location (city, region, or country), Timing (a date range and repeat schedule), Number of visits, and Campaign URL (visitors arriving from a tracked marketing link).
- Note: You can combine more than one condition on the same rule for tighter targeting.
- From the action options, choose Show top bar message.
- Enter the message text you want displayed in the bar.
- Select which page(s) the message should appear on.
- Set when the message should start showing and, if applicable, when it should stop.
- Click Preview to see how the bar will look on the live site, then click Next.
- Enter a Rule name so it's easy to find later. Optionally, enable Show once per visitor if you don't want the bar to reappear for returning visitors.
- Click Activate to make the rule live, or Save as Draft to finish it later. Republish the site for the change to appear for visitors.
Note: Changes to a personalization rule are not live until the site is republished. Rules do not trigger automatically while viewing a site preview. To test a rule, click the three-dot menu next to it and select Preview.
Note: If a Cookie Notification banner is enabled on the site, it takes priority and will cover the Top Bar Message. Turn off the Cookie Notification if the Top Bar Message needs to be visible immediately.
Note: A visitor who has already seen a rule won't see it again for 30 minutes, or until they clear their browser cache, even if the trigger conditions are still met.
Managing an Existing Top Bar Message
To edit, pause, or remove a Top Bar Message rule after it's created:
- In the side panel, click More, then click Personalize.
- Click the three-dot menu next to the rule.
- Select Edit, Activate/Deactivate, or Delete as needed.
Note: If more than one active rule is set to show a top bar message on the same page at the same time, only one will display — whichever rule is listed highest in the rule list takes priority. Drag and drop rules in the list to reorder them.