Skip to main content

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 TypeWhy Exclude
CheckoutDon't interrupt purchase
CartFocus on conversion
Thank youAlready converted
AccountLogged-in user area
LoginDon'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:

TargetShows To
All visitorsEveryone
New visitorsFirst-time only
Returning visitorsBeen here before

Based on Referrer

Target traffic sources:

ReferrerExample
GoogleSearch traffic
FacebookSocial traffic
EmailCampaign traffic
DirectNo 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

  1. Start with all pages
  2. Add exclusions for problem areas
  3. Refine based on data

Match Content to Context

PagePopup Content
BlogNewsletter signup
ProductProduct offer
PricingDemo request
CartExit discount

Don't Over-Target

Too narrow = missed opportunities:

❌ /blog/2024/01/15/post-title-here
✓ /blog/*

Test Your Rules

Before publishing:

  1. Visit target pages
  2. Verify popup appears
  3. Visit excluded pages
  4. 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

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

  1. Use incognito mode (fresh cookies)
  2. Check multiple pages
  3. Test on different devices
  4. Verify with console logs (if available)