Show the right message to the right person at the right time. This guide covers all targeting options for Announcement Bars, plus targeting and smart triggers for Popup Campaigns.
Note: Features marked (PRO) require HashBar Pro. All other features are available in the free version.
Page Targeting #
Control which pages display your announcement bar or popup campaign. Available for both Announcement Bars and Popup Campaigns.
| Option | Description | When to Use |
|---|---|---|
| All Pages | Show on every page of your site | Site-wide announcements, global promotions |
| Homepage Only | Show only on the homepage | Welcome offers, first-impression campaigns |
| Specific Pages | Select exact pages where the campaign appears | Product-specific offers, targeted content |
| Exclude Pages | Hide from specific pages (show everywhere else) | Hide from checkout, login, or admin pages |
Tip: Use “Exclude Pages” to hide campaigns from your checkout page. Popups during checkout can increase cart abandonment.
Device Targeting #
Target campaigns based on the visitor’s device type. Available for both Announcement Bars and Popup Campaigns.
| Option | Description | When to Use |
|---|---|---|
| All Devices | Show on all screen sizes | Universal campaigns that work on all screens |
| Desktop | Show on desktop computers only | Desktop-specific features or offers |
| Tablet | Show on tablets only | Tablet-optimized content |
| Mobile | Show on mobile phones only | Mobile app downloads, mobile-specific offers |
Tip: Create separate campaigns for mobile and desktop. Mobile visitors may respond better to bottom-positioned bars or corner slide-in popups rather than fullscreen modals.
Geographic Targeting #
Target campaigns by visitor location. Available for Announcement Bars.
| Option | Description |
|---|---|
| All Countries | Show to visitors from all locations |
| 7 Major Countries | Target visitors from 7 pre-configured major countries |
| 240+ Countries (PRO) | Target any specific country worldwide |
Use Cases:
- Show shipping offers only to visitors from countries you ship to
- Display region-specific promotions (e.g., US-only sale)
- Show different currency or pricing for different regions
- Display localized messages for different markets
User Targeting #
Target campaigns based on visitor login status. Available for both Announcement Bars and Popup Campaigns.
| Option | Description | When to Use |
|---|---|---|
| All Users | Show to everyone | General promotions and announcements |
| Logged In | Show only to registered, logged-in users | Member-exclusive offers, loyalty rewards |
| Guests | Show only to non-logged-in visitors | Sign-up incentives, registration promotions |
Strategy Examples:
- Guests only: “Sign up today and get 10% off your first order” – Show lead capture popup only to visitors who haven’t registered
- Logged in only: “Exclusive member sale – 30% off this weekend” – Reward loyalty with member-only offers
Behavioral Targeting (Announcement Bar) #
Show announcement bars based on visitor behavior. Available for Announcement Bars only.
| Option | Description | Range |
|---|---|---|
| Time on Site | Show bar after visitor spends X seconds on the site | 0 – 3600 seconds |
Smart Triggers (Popup Campaign Only) #
Popup Campaigns have 8 smart triggers that control exactly when your popup appears. These are separate from targeting (who sees it) – triggers control the timing.
1. Immediate #
Shows the popup as soon as the page loads. No delay.
Best for: Cookie consent notices, important announcements that need immediate visibility.
Configuration: No settings needed.
2. Time Delay #
Shows the popup after a set number of seconds. Gives visitors time to engage with your content first.
Best for: Lead capture, promotions, welcome offers.
Configuration: Set delay in seconds (0 – 999).
Recommended: 3-5 seconds for most campaigns.
3. Exit Intent #
Detects when the visitor’s mouse moves toward the browser’s close button or address bar, indicating they’re about to leave. The popup appears at that moment.
Best for: Last-chance offers, discount codes, lead capture before leaving.
Configuration: No settings needed – the trigger is automatic.
Statistics: Exit intent popups can recover 10-15% of abandoning visitors.
4. Scroll Depth (PRO) #
Shows the popup after the visitor scrolls a certain percentage of the page. Targets engaged readers.
Best for: Content upgrades, mid-content offers, newsletter signups for blog readers.
Configuration: Set scroll percentage (0 – 100%).
Recommended: 50% for blog posts, 25% for product pages.
5. Element Click (PRO) #
Shows the popup when a specific HTML element is clicked. You provide a CSS selector for the element.
Best for: “Learn More” buttons, custom triggers, interactive elements.
Configuration: Enter a CSS selector (e.g., .my-button, #learn-more).
6. User Inactivity (PRO) #
Shows the popup when the visitor hasn’t interacted with the page for a set duration. Re-engages idle visitors.
Best for: Re-engagement offers, preventing bounce from idle visitors.
Configuration: Set inactivity duration in seconds.
7. Element Visible (PRO) #
Shows the popup when a specific element scrolls into the visible viewport. You provide a CSS selector.
Best for: Contextual popups triggered by specific content sections.
Configuration: Enter a CSS selector for the target element.
8. Page Views (PRO) #
Shows the popup after the visitor has viewed a set number of pages. Targets engaged visitors who are browsing your site.
Best for: Lead capture from engaged visitors, loyalty offers.
Configuration: Set minimum number of page views.
Recommended: 3 page views to target engaged visitors.
Frequency Control (Popup Campaign) #
Control how often the popup is shown to the same visitor. Prevents popup fatigue.
| Option | Description |
|---|---|
| Every Page Load | Show on every page view (default) |
| Once Per Session | Show once per browser session |
| Once Per Day | Show once every 24 hours |
| Once Every X Days (PRO) | Show once every specified number of days |
| Once Ever (PRO) | Show only once, never again |
| X Times Total (PRO) | Show a maximum of X times total |
Scheduling #
Control when your campaigns are active with date-based scheduling.
Date Range (Both AB & PC) #
| Setting | Description |
|---|---|
| Start Date | When the campaign becomes active |
| End Date | When the campaign stops showing |
Recurring Schedule (Announcement Bar – PRO) #
| Setting | Description |
|---|---|
| Active Days (PRO) | Select which days of the week the bar is active |
| Start Time (PRO) | Daily start time |
| End Time (PRO) | Daily end time |
Combination Strategies #
Combine targeting options for powerful, precise campaigns:
| Strategy | Configuration |
|---|---|
| Mobile-only exit intent offer | Device: Mobile + Trigger: Exit Intent + Position: Bottom |
| Guest signup on homepage | Page: Homepage + User: Guests + Trigger: Time Delay 5s |
| Engaged reader lead capture | Page: Blog posts + Trigger: Scroll Depth 50% + Frequency: Once Per Session |
| VIP member weekend deal | User: Logged In + Schedule: Sat-Sun + Countdown Timer |
| Cart abandonment recovery | Page: Cart page + Trigger: Exit Intent + Coupon Display |
Best Practices #
- Start broad, then narrow. Begin with “All Pages” targeting. Use analytics to identify high-performing pages, then create targeted campaigns.
- Don’t overload visitors. Avoid showing multiple popups on the same page. Use frequency control to limit exposure.
- Match triggers to intent. Exit intent for recovery, scroll depth for engagement, time delay for first impressions.
- Test different combinations. Use A/B testing to compare different targeting and trigger combinations.
- Exclude checkout pages. Never show interruptive popups on checkout or payment pages.
- Use device targeting for design. What works on desktop may not work on mobile. Create device-specific campaigns when needed.
Related Guides #
- Announcement Bar Editor Guide – Full reference including targeting tab
- Popup Campaign Editor Guide – Full reference including triggers and targeting tabs
- Analytics Guide – Use data to refine your targeting
- A/B Testing Guide – Test different targeting combinations (PRO)
- Use Cases & Recipes – Real-world targeting examples
That’s it! You now have a complete understanding of all targeting and trigger options available in HashBar. Use these tools to deliver the right message to the right audience at the perfect moment.