Targeting & Triggers Guide

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.

OptionDescriptionWhen to Use
All PagesShow on every page of your siteSite-wide announcements, global promotions
Homepage OnlyShow only on the homepageWelcome offers, first-impression campaigns
Specific PagesSelect exact pages where the campaign appearsProduct-specific offers, targeted content
Exclude PagesHide 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.

OptionDescriptionWhen to Use
All DevicesShow on all screen sizesUniversal campaigns that work on all screens
DesktopShow on desktop computers onlyDesktop-specific features or offers
TabletShow on tablets onlyTablet-optimized content
MobileShow on mobile phones onlyMobile 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.

OptionDescription
All CountriesShow to visitors from all locations
7 Major CountriesTarget 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.

OptionDescriptionWhen to Use
All UsersShow to everyoneGeneral promotions and announcements
Logged InShow only to registered, logged-in usersMember-exclusive offers, loyalty rewards
GuestsShow only to non-logged-in visitorsSign-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.

OptionDescriptionRange
Time on SiteShow bar after visitor spends X seconds on the site0 – 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.

OptionDescription
Every Page LoadShow on every page view (default)
Once Per SessionShow once per browser session
Once Per DayShow 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)

SettingDescription
Start DateWhen the campaign becomes active
End DateWhen the campaign stops showing

Recurring Schedule (Announcement Bar – PRO)

SettingDescription
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:

StrategyConfiguration
Mobile-only exit intent offerDevice: Mobile + Trigger: Exit Intent + Position: Bottom
Guest signup on homepagePage: Homepage + User: Guests + Trigger: Time Delay 5s
Engaged reader lead capturePage: Blog posts + Trigger: Scroll Depth 50% + Frequency: Once Per Session
VIP member weekend dealUser: Logged In + Schedule: Sat-Sun + Countdown Timer
Cart abandonment recoveryPage: Cart page + Trigger: Exit Intent + Coupon Display

Best Practices

  1. Start broad, then narrow. Begin with “All Pages” targeting. Use analytics to identify high-performing pages, then create targeted campaigns.
  2. Don’t overload visitors. Avoid showing multiple popups on the same page. Use frequency control to limit exposure.
  3. Match triggers to intent. Exit intent for recovery, scroll depth for engagement, time delay for first impressions.
  4. Test different combinations. Use A/B testing to compare different targeting and trigger combinations.
  5. Exclude checkout pages. Never show interruptive popups on checkout or payment pages.
  6. Use device targeting for design. What works on desktop may not work on mobile. Create device-specific campaigns when needed.

Related Guides

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.

Last updated on March 10, 2026

Was this article helpful?

PREVIOUS

Countdown Timer Guide

NEXT

A/B Testing Guide

Powered by Support Genix
Scroll to Top