You can show a message directly to someone browsing the store through the Web Push module. Treat its content and display rules separately from a notification delivered after they leave the site.
Prepare the message
- In the Web Push installation, open Website messages and add one.
- Enter an internal name, title and visitor-facing text.
- Choose a format and position. Add an image and an offer button if needed.
- Set page rules, trigger, frequency and schedule.
- Review the preview and save.
Match the visitor's situation
The example helps someone reach a skincare product. Show it where the offer matches the content being viewed. Avoid interrupting every visit with the same window.
An empty page-rule list means broad display scope. For a message about one collection, specify the relevant URLs. Check the impression limit and interval too.
Check the rules before showing it everywhere
In Page rules, choose Add page rule. For the example collection, select Contains and enter /collections/skincare in Page address or fragment. Use the path from your store. “Contains” matches every address with that fragment, not only one exact page.
Set the trigger in Display rules, then the number of displays and interval in Frequency and schedule. The example screenshot limits the message to three displays per user, with a 24-hour interval. Choose values that suit the duration of your offer.
Before activation, check both a matching page and a page where the message should not appear. Preview verifies appearance; checking the store verifies that the rules match its URLs.
Draft, preview and active message
The preview lets you assess content without launching it in the store. Saving a draft does not activate it. Check status, dates and installation requirements before publishing.
An onsite message needs the website open and the integration working. It does not replace notification signup or send to the phone of someone who has no page open.

