Loading...
Area: Episerver Campaign

Test dispatch

Recommendations [hide]

This topic describes how to set up a website and create a campaign in Smart Campaigns to send Web Push test messages.

In this topic

Prerequisites

  • A website (web app) to implement push notifications.
    Tip: Use a different website than your main one for testing. You can create a test website using Firebase Hosting.
  • A user account for Firebase Cloud Messaging, a free cross-platform solution for sending push messages.
  • Episerver Campaign test recipient list of type "Push" that customer support sets up for you.

Setting up the website

  1. Create a web app project in Firebase and provide Episerver with the required information for the push assignment.
  2. Integrate your website with the Firebase JavaScript SDK. See Integrating the Firebase SDK.
    Tip: If you use Firebase Hosting, see Firebase Cloud Messaging Quickstart for an integration guide.
  3. Save the user registration token generated during the opt-in process.

    Note: Make sure that push notifications are enabled in your web browser.

  4. Add a new recipient with the user registration token to the test recipient list in Episerver Campaign. See Opt-in.

Sending a Web Push test message via Smart Campaigns

To test the Web Push message, create a campaign in Smart Campaigns. Do the following:

  1. Log in to Episerver Campaign and select the client for which Web Push has been configured.
  2. Open the start menu and select Campaigns > Smart Campaigns.
  3. Create a new campaign using the Recipient node and the Web Push node. See Creating and editing a campaign in the Episerver User Guide.
  4. Configure the Web Push message. See Configuring the message in the Episerver User Guide.
  5. Click Push test message and send the Web Push test message. See Smart Campaigns nodes in the Episerver User Guide.

The Web Push message is displayed in the web browser when opening.

Related topics

Do you find this information helpful? Please log in to provide feedback.

Last updated: Oct 13, 2020

Recommendations [hide]