Web Push
Setting up mobile push notifications is described in the corresponding article.
![]() | Web Push is notifications sent through a browser. They are displayed on the user's device in the corner or top of the screen, even if the browser window is inactive. |
How Subscription Works
- The user visits the website and subscribes to notifications
- The browser requests permission to display push
- Upon agreement, a Service Worker is registered
- The user receives a push token
- The token is saved in the profile for future sending
A push notification can contain:
- Title — similar to an email subject
- Body — message text
- Icon — image in the notification
- Link — redirect when clicking on the push
Web Push Providers
| Provider | Browsers | When to Use |
|---|---|---|
| Firebase Cloud Messaging | Chrome, Firefox, Opera, Yandex Browser, Samsung Internet | Main provider for Chromium browsers and Firefox |
| Mozilla Services | Firefox | Direct sending to Firefox without Firebase |
| Safari / APNs | Safari | Safari browser on macOS |
Sending to Firefox is possible both directly via Mozilla Services and through Firebase Cloud Messaging.
Rich Push
Rich Push allows adding extended elements to a notification: banners, buttons, adaptive links, and deeplink. Setup is available when creating a template.
For more details, see the article Push Templates.
Quick Start
- Resource and website setup — preliminary settings, resource, SDK, subscription code
- Provider setup — selecting providers for browsers
- Subscriber data transfer — profile and event import
Additional Resources
- Migration to Altcraft — transferring subscriptions from other services
- PWA Push — push notifications for PWA applications
- First Web Push Mailing — step-by-step guide
- SDK Methods Reference — Web Push SDK methods
First Web Push Mailing
Your first web push mailing: the template, choosing the mailing type and checking results after sending.
Resource and Website Setup
Setting up a website for Web Push: creating a resource, installing the SDK, adding subscription code.
Web Push Providers
Web Push providers: Mozilla Services, Firebase and Apple — which browser uses which provider.
Transferring Data to the Platform
How to pass user data into the profile when subscribing to Web Push: parameters and code examples.
Web Push SDK Methods
Web Push SDK methods: subscribing, unsubscribing and passing profile data — purpose, parameters and call examples.
PWA and Push Notifications
Push notifications for PWA: manifest, app installation, and iOS and Android specifics.
Migration and Subscription Transfer
Migrating push subscriptions from third-party services to Altcraft: OneSignal, Safari and other providers.
