Each opt-in prompt in Permission Prompts has its own trigger, targeting, and frequency rules. A prompt appears only when every active rule on that prompt matches the shopper’s current visit.
When the prompt appears
Section titled “When the prompt appears”| Rule | Options | Default |
|---|---|---|
| Trigger type | Show after a Delay (seconds) or after Scroll (% of page height) | Delay |
| Delay | 0 to 300 seconds after the page loads | 5 seconds |
| Scroll | 0 to 100% of the page scrolled | 10% |
The delay or scroll counter resets on every new page navigation. If a shopper clicks to another page after 3 seconds on a 5-second delay, the 5-second timer starts fresh on the next page.
Practical advice: Avoid setting the delay to 0 seconds. A visitor who just landed has not seen what you sell yet, so asking immediately feels intrusive and increases dismiss rates. A 5 to 15 second delay works well on home and collection pages, while a 15% to 30% scroll trigger works especially well on long product pages where shoppers are already reading details.
Where the prompt appears
Section titled “Where the prompt appears”| Rule | What it controls |
|---|---|
| Pages | Include or exclude URLs using contains or is exactly (up to 256 characters per rule). |
| Devices | Desktop, Mobile, or both. |
| Browsers | Chrome, Firefox, Safari, or any combination. |
| Countries | Include or exclude up to 32 countries per list. |
How page URL rules match
Section titled “How page URL rules match”- PingLane checks your rule against the full page address (
https://...including your domain and any extra tags after?such as?variant=123or?utm_source=...), ignoring only a trailing/at the very end. - Contains matches if your text appears anywhere in the full URL (for example,
/products/matches every product page). This is the easiest option for most rules. - Is exactly requires an exact match of the full URL (for instance
https://northwind.store/collections/sale). Note that the same page with?page=2or?utm_source=...added will not match an is exactly rule. - Exclude always wins. If a URL matches both an include rule and an exclude rule on the same prompt, the prompt stays hidden on that page.
- Leaving include rules empty means the prompt can appear on any page that is not excluded. Adding one or more include rules restricts the prompt strictly to pages matching at least one include rule.
- Matching ignores capital and small letters, so
/Collections/Sale,/collections/sale, and/COLLECTIONS/SALEall match the same page. You can type a rule in any case without copying it exactly from your browser’s address bar.
How PingLane groups devices and browsers
Section titled “How PingLane groups devices and browsers”| Shopper’s environment | Device group | Browser group |
|---|---|---|
| Phone | Mobile | Matches browser below |
| Laptop or desktop computer | Desktop | Matches browser below |
| Tablet (iPad or Android tablet) | Usually Desktop (tablets typically identify like desktop browsers) | Matches browser below |
| Chrome, Edge, Opera, Brave, Samsung Internet, and any other browser | Per device above | Chrome |
| Firefox | Per device above | Firefox |
| Safari on Mac, plus every browser on iPhone and iPad | Per device above | Safari (all iPhone and iPad browsers run on Safari’s browser engine) |
How often the prompt appears
Section titled “How often the prompt appears”| Rule | What it controls | Default |
|---|---|---|
| Show count | Maximum total times the same shopper can see this prompt (1 to 1,000, or Unlimited). |
Unlimited |
| Hide after “Not now” | Days to wait before showing prompts again after the shopper dismisses (0 to 365 days; 0 allows showing on the next page view). |
7 days |
Frequency counters and dismiss timers are stored locally in that shopper’s browser. If the shopper switches browsers or clears their browser site data, PingLane sees them as a fresh visitor.
How PingLane evaluates prompts step by step
Section titled “How PingLane evaluates prompts step by step”On every page load:
- Check current browser permission state:
- If the shopper is already opted in for this browser, stop (no prompt needed).
- If the browser itself already grants notification permission to your store (for instance, the shopper re-enabled it in browser settings), PingLane quietly registers the browser without showing a prompt.
- If PingLane marked this browser unsubscribed, stop. See Unsubscribes.
- If the shopper previously clicked Block through your prompt, wait until that prompt’s hide period expires.
- Check each active prompt:
- Skip if the browser reached that prompt’s Show count.
- Skip if the browser dismissed that prompt within its Hide after “Not now” window.
- Skip if Pages, Devices, Browsers, or Countries do not match.
- Skip if the prompt is Browser native and the visitor is on Safari or Firefox (or another browser not based on Chrome).
- Display one matching prompt once its delay or scroll trigger completes. Because prompt evaluation order is not guaranteed when multiple prompts match, keep rules mutually exclusive.
Practical examples
Section titled “Practical examples”- Quiet everyday prompt + bold sale prompt: Give your Spotlight prompt an include rule for page contains
/collections/sale, and give your everyday Toast prompt an exclude rule for/collections/sale. On sale pages only Spotlight matches; everywhere else only Toast matches. - Browser native on Chrome + opt-in prompt elsewhere: Set Browser native active for Chrome (Chromium family), and keep a second opt-in prompt active with Chrome (Chromium family) unchecked and only Firefox and Safari checked so Chromium browsers never clash with two prompts.
- Keep checkout distraction-free: Add
/cartand/checkoutas exclude rules on every active prompt so shoppers finishing a purchase are never interrupted.
Edge cases
Section titled “Edge cases”After the shopper selects Allow on your prompt
Section titled “After the shopper selects Allow on your prompt”Opting in takes two steps. When the shopper selects Allow on your opt-in prompt, the browser then shows its native prompt (yourstore.com wants to show notifications), and the shopper only becomes an opted-in shopper after they also select Allow there. The table shows what PingLane does for every other choice the shopper can make in the native prompt, and when your opt-in prompt can appear again in that browser.
| What the shopper does in the native prompt | What PingLane does | When an opt-in prompt can appear again |
|---|---|---|
| Selects Allow | Opts the shopper in. | Never, because they are already opted in. |
| Closes the native prompt with X or Esc, or the browser hides it without an answer | Treats it like Not now on that opt-in prompt. | That opt-in prompt waits for its Hide after “Not now” days (7 by default). Another active opt-in prompt with matching rules can still appear. |
| Selects Block | The browser blocks notifications from your store, and PingLane pauses all opt-in prompts in that browser. | After the hide days of the opt-in prompt they were using (7 by default). The Show count of every opt-in prompt also starts again from zero. |
| Leaves the native prompt open and reloads the page, opens another page, or closes the tab | Nothing, because the shopper never gave an answer. | On their next page view, as soon as the opt-in prompt’s delay or scroll trigger completes. This view counts toward the Show count. |
Why a reload brings the opt-in prompt back: the browser only tells PingLane the shopper’s answer when they select Allow or Block, or close the native prompt. When the shopper reloads or leaves the page while the native prompt is still open, the browser drops the question without an answer, so PingLane has nothing to remember and the shopper is still a visitor who has not decided. PingLane asks again so it does not miss a shopper who simply got distracted. If you do not want this shopper to see the opt-in prompt on every page view, set a Show count such as 3 to limit how many times one browser sees it.
What happens when an opt-in prompt appears again after Block: the browser has already blocked your store, so it will not show its native prompt again, and only the shopper can change that in their browser settings. When the shopper selects Allow on your opt-in prompt, PingLane shows the Blocked shoppers guide with the steps to unblock your store in their browser. If the guide is switched off, nothing opens, and the opt-in prompt pauses again for its hide days.
Closing the native prompt several times in Chrome: if a shopper closes Chrome’s native prompt without answering several times, Chrome can stop opening it for your store for a while. Your opt-in prompt still appears on its normal schedule, but selecting Allow may not open Chrome’s native prompt until Chrome shows it again.
Other edge cases
Section titled “Other edge cases”- You edit an existing prompt. Shoppers who already dismissed the earlier version still wait out their remaining hide days.
- You switch off a prompt. It stops appearing on the very next page view. Existing browser dismiss timers stay in the shoppers’ browsers in case you re-enable it later.
- A shopper dismisses every active prompt. No prompt appears until at least one prompt’s hide period ends.
Related
Section titled “Related”More help
- Need help? Contact Support ↗
- Preview notifications live in the PingLane Playground ↗
- Read guides on our blog ↗
- Something not working? See Troubleshooting
- LLM? Read llms.txt or this page as Markdown