---
description: >-
  This page talks about Web Push Notification channel in Lemnisk and what are
  the pre-requisites to run Web Push Notification campaigns.
---

# Web Push Notification

Lemnisk Marketing Automation platform allows you to create Web Push notifications across the web and mobile. You must have an active segment in order to enable web push notification engagement. Refer to [this](../segments/create-a-segment) guide to create a segment.

### **Why should you run Web Push Notification campaigns?**

Personalized Web Push campaigns are one of the most effective ways to drive conversions and it is backed by proven statistics.

<figure><img src="https://1782533751-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FazJDZwzHkmWIbkYOetQH%2Fuploads%2FLytXDC4vtvI3jPwtBlnt%2FWeb_Push_Stats.png?alt=media&#x26;token=7e10c15b-d72f-4c4d-904a-61c49f8e83d1" alt=""><figcaption><p><em>Statistics showcasing the effectiveness of Web Push Campaigns</em></p></figcaption></figure>

### **Pre-requisites to run Web Push Notification Campaigns with Lemnisk**

{% tabs %}
{% tab title="Chrome, Firefox and Opera " %}
* **VAPID Key:** The user must have a public and private VAPID Key. This key will be generated from an FCM Project. If you don't have an FCM project, we can generate it on your behalf. Please contact your Lemnisk Customer Success Manager for the same.
* **Insert** `LemniskSDKWorker.js` **in your Web Server:** Lemnisk will provide you with the `LemniskSDKWorker.js` file. You need to move this file onto your website server and the client has to place it in their server.

\
**Use Case:** Let's assume you have a website abc.com. It is recommended that you create a Lemnisk folder and move`LemiskSDKWorker.js` into the folder. The path of the file will look like - `/Lemnisk/LemniskSDKWorker.js`. Copy this path and send it to Lemnisk. The location of the file can be changed at any time but in this case, please send us the final path decided.
{% endtab %}

{% tab title="Safari" %}
**Upload Icons:** It is mandatory for you to have icons in the form of `icons.iconset` from the campaign owner and upload them at s3://lem-trigger-channels/sfpush/\<campaignId>/.

**Things to consider:**&#x20;

The icons' dimensions might vary from the list given below:

* 16 \* 16 png
* 32 \* 32 png
* 64 \* 64 png
* 128 \* 128 png
* 256 \* 256 png

Lemnisk can also generate the certificate for the customer in order to automate the renewal of the certificate.

Images cannot be added to WPN in Safari.

Icons can only be uploaded during onboarding and cannot be replaced after that.
{% endtab %}
{% endtabs %}

{% hint style="info" %}
**Note**

Private browsing or browsing in Incognito mode will not support Web Push Notification. some browsers may or may not prompt a notification permission while browsing your website in incognito mode. So, Kindly ensure that you are not in incognito mode while testing web push campaigns.
{% endhint %}
