# 6.2 Notifications- Marketing

### 6.2 **Notifications via Firebase: Sending Custom Notifications**

In this section, administrators can harness the power of Firebase to deliver custom push notifications. With this feature, administrators can send notifications containing a name, message, and an optional image. Additionally, notifications can be tailored to specific countries, ensuring a targeted and relevant user experience. This capability enables administrators to maintain user engagement and communicate important messages with ease.

<figure><img src="https://3686328336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd1Iq7THDAagTQzeC9rTN%2Fuploads%2FyzvPuhe3VsY7HjeTC9hh%2Fimage.png?alt=media&#x26;token=3f895786-f602-4160-b8bb-1e0519c3f6c8" alt=""><figcaption><p><strong>Notifications listing</strong></p></figcaption></figure>

<figure><img src="https://3686328336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd1Iq7THDAagTQzeC9rTN%2Fuploads%2FezawJKWIAT5DImM2e1lG%2Fimage.png?alt=media&#x26;token=32fab6c0-bb95-4afb-95cd-adac5c2bd974" alt=""><figcaption><p><strong>Push notification interface</strong></p></figcaption></figure>

**New Notification**

* **Message Title**: Enter the title for your notification.
* **Title**: Provide a title for the notification.
* **Message**: Craft your message here.
* **Image**: Optionally, attach an image to the notification to enhance its visual appeal and impact.

These details will help administrators create engaging push notifications to effectively communicate with users.

#### **Push Notifications via Firebase Cloud Messaging**

* **Integration:** Our application incorporates Firebase Cloud Messaging (FCM) for push notifications. This integration allows for sending notifications to users via the Firebase backend, making it seamless and efficient.
* **Notification Content:** Administrators can create and send custom notification content directly from the backend, including titles and messages.
* **Targeting:** Notifications can be precisely targeted to specific user segments, ensuring that the right users receive relevant content.
* **Real-Time and Scheduled Messaging:** Administrators can choose to send notifications instantly or schedule them for future delivery, providing flexibility in communication.
* **Delivery Reports:** Firebase offers delivery reports that administrators can access to track the success of notifications sent via the backend.
* **User Opt-In:** Users must enable notifications in their device settings to receive them, maintaining user control.
* **User Interaction:** Users can interact with notifications by tapping them to open the app. They can also dismiss or opt out of notifications based on their preferences.
* **Firebase Console:** Administrators have the option to manage and send notifications via the Firebase Console, making the process user-friendly and efficient.
