Targeting Rules
Targeting rules let you control which pages display your popup and which visitors see it. Use targeting to create personalized experiences and avoid showing irrelevant content.
Page Targeting
Show on All Pages
Default behavior — popup appears everywhere:
Target: All pages
Specific URLs
Show only on exact URLs:
Target: Specific URL
URL: /pricing
Multiple URLs:
URLs:
- /pricing
- /features
- /about
URL Contains
Show on pages matching a pattern:
Target: URL contains
Pattern: /blog/
Matches:
/blog/post-1/blog/category/tips/blog/
URL Pattern (Regex)
Advanced pattern matching:
Pattern: /products/[0-9]+
Matches:
/products/123/products/456
Homepage Only
Target: Homepage
Path: / (exactly)
Exclusion Rules
Exclude URLs
Never show on certain pages:
Exclude:
- /checkout
- /cart
- /thank-you
- /account/*
Common Exclusions
| Page Type | Why Exclude |
|---|---|
| Checkout | Don't interrupt purchase |
| Cart | Focus on conversion |
| Thank you | Already converted |
| Account | Logged-in user area |
| Login | Don't distract |
Combining Rules
Include + Exclude
Include: All pages
Exclude: /checkout, /cart
Multiple Patterns
Include:
- /blog/*
- /resources/*
Exclude:
- /blog/private/*
Visitor Targeting
New vs. Returning
Target based on visit history:
| Target | Shows To |
|---|---|
| All visitors | Everyone |
| New visitors | First-time only |
| Returning visitors | Been here before |
Based on Referrer
Target traffic sources:
| Referrer | Example |
|---|---|
| Search traffic | |
| Social traffic | |
| Campaign traffic | |
| Direct | No referrer |
Target: Referrer contains
Pattern: google.com
Device Targeting
Desktop Only
Devices: Desktop only
Mobile Only
Devices: Mobile only
All Devices (Different Popups)
Create separate popups:
- Popup A: Desktop version
- Popup B: Mobile version
Each with appropriate targeting.
Time-Based Targeting
Date Range
Show during specific dates:
Start: 2024-12-01
End: 2024-12-31
Great for:
- Holiday promotions
- Limited-time offers
- Event-based campaigns
Day of Week
Target specific days:
Days: Monday, Tuesday, Wednesday
Time of Day
Target specific hours:
Hours: 9:00 AM - 5:00 PM
Useful for:
- Business hours
- Support availability
- Time-sensitive offers
URL Parameters
Query String Targeting
Target URLs with specific parameters:
Parameter: utm_source
Value: newsletter
Matches: ?utm_source=newsletter
Campaign Tracking
Target campaign visitors:
utm_campaign = black-friday
Shows popup only for Black Friday campaign traffic.
Combining Conditions
AND Logic
All conditions must match:
Page: /pricing AND
Device: Desktop AND
Visitor: New
OR Logic
Any condition can match:
Page: /pricing OR /features OR /demo
Complex Rules
(Page contains /blog AND Device is Mobile)
OR
(Page is /pricing AND Visitor is New)
Best Practices
Start Broad, Narrow Down
- Start with all pages
- Add exclusions for problem areas
- Refine based on data
Match Content to Context
| Page | Popup Content |
|---|---|
| Blog | Newsletter signup |
| Product | Product offer |
| Pricing | Demo request |
| Cart | Exit discount |
Don't Over-Target
Too narrow = missed opportunities:
❌ /blog/2024/01/15/post-title-here
✓ /blog/*
Test Your Rules
Before publishing:
- Visit target pages
- Verify popup appears
- Visit excluded pages
- Verify popup doesn't appear
Common Patterns
Blog Lead Capture
Include: /blog/*
Exclude: None
Trigger: Scroll 50%
Frequency: Once per session
E-commerce Exit
Include: /cart, /checkout
Trigger: Exit intent
Content: Discount offer
Frequency: Once per session
Homepage Welcome
Include: / (homepage only)
Trigger: On load (5s delay)
Target: New visitors
Frequency: Once ever
Campaign Landing
Include: ?utm_campaign=special
Trigger: On load
Content: Campaign-specific offer
Frequency: Once per session
Troubleshooting
Popup Not Showing
Check:
- Page matches include rules
- Page doesn't match exclude rules
- Device matches (if device-targeted)
- Cookie hasn't been set
- Date/time rules (if set)
Showing on Wrong Pages
Check:
- Include rules aren't too broad
- Exclude rules are set correctly
- URL patterns match correctly
- Check for typos in URLs
Testing Tips
- Use incognito mode (fresh cookies)
- Check multiple pages
- Test on different devices
- Verify with console logs (if available)
Related Features
- Cookie Settings — Display frequency
- Triggers — When to show
- Device-Specific — Device styling