Firefox push notifications for websites

Push4site sends notifications to Firefox subscribers on Windows, macOS, Linux and Android. Firefox has supported web push since 2016 and delivers messages through Mozilla's own push service, so subscribers get them even when the site's tab is closed.

Notification permission prompt in Firefox

How Firefox displays notifications

On a computer Firefox notifications are shown by the system, in the Windows or macOS notification center. Firefox shows the title, text and icon, but not large images or action buttons. So the point of the message has to fit into the title and text, and a click on the notification should open the right page.

How Firefox asks for permission

Since 2020 Firefox doesn't show the notification prompt if a site requests it without a user action. Instead, a small icon appears in the address bar that few people notice. The prompt opens only after the visitor clicks a button on the page. Users can also tell Firefox to block all new notification requests.

Push4site follows this rule: the visitor first sees your opt-in prompt, and the native prompt appears after a click on “Yes”. This way subscribing works the same in every browser.

How to set up Firefox push notifications

Push4site code to install on the website

1. Install the code

Sign up for Push4site and add your site. Place the code before the closing </head> tag and the service worker file in the site root. The site must run on HTTPS.

2. Set up the opt-in

Visitors first see your own prompt with a clear benefit, and only after they say “Yes” the native Firefox prompt. When a visitor clicks “Allow”, they join your subscriber list.
Push notification opt-in prompt on a phone screen
Push notification form in the Push4site dashboard

3. Send your first notification

Enter a title, text and link in the Push4site dashboard, pick a segment and a send time. Abandoned cart, welcome and other flows can run automatically.

4. Track the results

The dashboard shows how many notifications were delivered, how many clicks they got and how many people unsubscribed. Use these numbers to tune timing, frequency and copy.
Push4site notification on a phone screen

Do notifications arrive when Firefox is closed?

On Android, yes. On a computer Firefox has to be running. If the browser is off, the notification shows up the next time it starts, as long as its time to live hasn't expired.

How do I turn off notifications in Firefox?

Open Settings → Privacy & Security → Permissions → Notifications → Settings. Pick the site and set it to Block, or tick “Block new requests asking to allow notifications”. For other browsers, see How to turn off push notifications.

Start sending Firefox push notifications in 10 minutes — the first 30 days are free.

We use
cookies

This website uses cookies, belonging to us or to third parties, for profiling purposes and to serve you ads in line with your browsing preferences and that may be of interest to you. If you wish to learn more on cookies, or change your browser’s settings on cookies (or prevent the website from setting whatever cookies), click here. If you close this banner, continue browsing or clicking any item on the website, you signify your consent to the use of cookies.
Close
En