Expiration time (also called time to live or TTL in web push) tells Google, Apple, Mozilla, and Microsoft’s push services how long to hold onto a notification if a shopper’s laptop is closed or their phone is offline.
If the shopper’s device reconnects before the expiration time runs out, the notification appears normally. Once the expiration time passes, the push service discards the message permanently so the shopper never wakes up days later to an outdated offer.
| Rule | Value |
|---|---|
| Required | Yes |
| Minimum | 5 minutes |
| Maximum | 7 days |
| Units | Minutes, hours, or days |
| Store default | 2 days (configurable in Settings → Web Push) |
New campaigns and reminders pre-fill from your store default in Settings → Web Push, and let you adjust the value for that single message. Automations and Shopify Flow notifications do not have per-message expiration fields and always use your store default.
Why expiration stops at 7 days
Section titled “Why expiration stops at 7 days”Web push works differently from email and SMS by nature:
- Email and SMS wait quietly. If someone travels for two weeks, unread emails sit in an inbox folder and SMS messages stay in a thread until they decide to open them.
- Web push interrupts the screen. Notifications pop directly onto the top of a laptop display or phone lock screen—often across every website that shopper subscribed to.
If expiration allowed weeks or months of queuing, a shopper returning from a vacation or turning an unused laptop back on would get bombarded all at once with old flash sales, stale stock updates, and outdated cart reminders. That sudden flood of stale alerts frustrates shoppers into clicking Block or Unsubscribe immediately, hurting both the shopper’s experience and your store’s browser reputation.
Capping expiration at 7 days (with a 2-day default) keeps delivery focused on messages that are still timely while protecting shoppers from stale notification floods. See Built-in safeguards against notification fatigue.
How to choose the right expiration time
Section titled “How to choose the right expiration time”Match your expiration time to how long the message stays accurate and useful:
| Message type | Recommended expiration | Why |
|---|---|---|
| Flash sale ending in a few hours | 1 to 4 hours | Prevents shoppers who open their laptop tomorrow from clicking an expired sale. |
| Weekend promotion | 24 to 48 hours | Matches the window while the weekend promo is still live. |
| New collection or product launch | 3 to 7 days | Gives shoppers who travel or rarely open their laptop time to see the announcement. |
| Back in Stock or Price Drop | 1 to 2 days (store default) | Restocked items can sell out again quickly, so a 2-day cap avoids alerting shoppers after stock runs out again. |
| Recurring weekly reminder | Less than 7 days (e.g., 2 to 5 days) | Ensures last week’s reminder expires before this week’s reminder arrives. |
Edge cases
Section titled “Edge cases”- Does an expired notification still count toward my monthly plan? Yes. PingLane counts a notification when the browser’s push service accepts it for delivery, before knowing whether the device is currently online or will wake up before expiration.
- Expiration time is shorter than campaign delivery time. If you have a large list and set a 5-minute expiration, messages may expire for devices that are offline even briefly around delivery. Reserve very short expirations (under 1 hour) for urgent, short-lived flash notifications.
- A discount expires before the notification expires. The notification can still appear on screen after the Shopify code ended; clicking opens your landing page without the discount applying. Keep notification expiration aligned with your discount’s end date. See Discount codes.
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