When a visitor switches away from your storefront tab, the browser-tab title rotates through a set of merchant-editable messages on a configurable interval. The original page title returns the moment they switch back. It’s a small conversion lever — useful for catching the visitor’s eye in a row of dormant tabs — and all of its copy is editable so it can match your brand voice (or be turned off entirely).Documentation Index
Fetch the complete documentation index at: https://voyager-theme.fasil.in/llms.txt
Use this file to discover all available pages before exploring further.
Where it lives
The recall messages render in the browser-tab title only when the document’s visibility state ishidden. The visitor never sees them on-page.
Theme settings
Theme Customizer → Theme settings → Tab title recall.| Setting | Default | What it does |
|---|---|---|
| Enable tab title recall | On | Master toggle. Turn off if it clashes with your brand voice. |
| Delay before first swap | 1s | How long after the visitor leaves before the first message appears. Range 0–30s. |
| Time between messages | 2s | How often the title rotates while the visitor is away. Range 1–10s. |
| Message 1 | ← Don't leave! Come back | First message shown after the delay. |
| Message 2 | ← Selling fast · only a few left | Second message. |
| Message 3 | ← Hurry · stock running low | Third message. |
Clearing slots
Leave any message field blank to skip that slot in the rotation. For example, clearing Message 2 means the cycle becomesMessage 1 → Message 3 → Message 1 → …. Clearing all three messages effectively disables the recall — same as turning the toggle off.
Brand voice examples
The defaults lean promotional. Editorial brands often soften them:| Brand voice | Message 1 | Message 2 | Message 3 |
|---|---|---|---|
| Restrained | We'll be here. | Your seat is reserved. | Take your time. |
| Editorial | ← Continue the voyage. | ← Your bag is waiting. | ← Back to the maison. |
| Playful | Hey, where'd you go? | ← Come back · we miss you | ← The bag is feeling lonely |
Implementation notes
The feature lives inassets/theme.js as a small IIFE that reads window.voyagerTabRecall (emitted from layout/theme.liquid based on the theme settings) and attaches a single visibilitychange listener.
When the document becomes hidden:
- After the configured delay, the title swaps to message 1.
- A
setIntervalrotates through the messages. - When the document becomes visible again, both the timeout and interval are cleared, the original title is restored, and the message index resets.
window.voyagerTabRecall config object is missing for any reason, the IIFE falls back to the original hardcoded messages so the feature always functions.