Helpcenter +918010117117"
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

How to integrate PushEngage with StoreHippo

StoreHippo allows you to add PushEngage in your store for sending web push notifications. You can integrate PushEngage with StoreHippo using few simple steps.

Create an account on PushEngage

First of all, you need to create a PushEngage account. To set up the PushEngage account, follow the steps given below:

  • To register yourself, go to the PushEngage.
  • Select your plan and provide details.

    • After you have registered successfully, you can login to your PushEngage account.

    Get the PushEngage Service Worker URL

    Follow the steps mentioned below to get the service worker URL. 

    • Now, login to your account. Go to the Settings > Site Settings section.
    • Click the Installation Settings option.

    • Copy the mentioned code as shown in the image below. You can put the async version on any section of your HTML page.

    • Also, you can download the package files - service-worker.js from Step 2 of Installation Settings.

    • After getting the service worker files, log in to the StoreHippo admin panel.

    Add the PushEngage Service Worker URL to StoreHippo

    Once you have got the service worker URL, you need to add that in the StoreHippo admin panel. To add the service worker URL, follow the steps given below:

    •  A new form will open up. Enter the name, URL, and description.
    • Select the Active checkbox to enable the service worker URL.
    • After providing the details, click the Save button to save the service worker URL.

    Add the PushEngage JS Code

    Once you have created the service worker, you need to add the PushEngage JS code in startup widgets. To add the code in the startup widgets, follow the steps given below:

    • Provide the name in the Name field and add the code that you have copied in the Controller section. Select the "Head" in the Append To section.

    • After providing the details, click the Save button.

      Now, you can use PushEngage for Web Push Notifications.