Chrome support of http sites

If your website is http you can still send web push notifications to your users on Chrome mobile and desktop. However the notifications must be sent from a https property. On chrome if you want to ask for permission to send notifications on a http property you must send the user to a https property to accept. This works as seen in the example below, which shows our default chrome http behaviour fully configurable via the platform (as shown here):

  • First you ask the user if they want to accept notifications from your site. 

 

  • Then you take them to a https window to accept notifications.

 

This looks similar on mobile chrome:

            

The examples shown above are using our default chrome http solution. In this case on a http site we pop up our default "Don't Allow" / "Allow" Dialog, this is not a system dialog it comes from our SDK. When the user clicks don't allow on the initial dialog they will stay on the http site. If they click allow they will be taken out to the https site configured (e.g.https://CLIENT.webpu.sh) in a window. In this window they get a value exchange message and are presented the actual chrome system dialog to fully accept notifications.

The settings for when the first dialog initially appears and when it repeats if you click don't allow are set in App Settings > SDK Settings.

Here you can set the following settings for the initial chrome permissions dialog:

  • ​Initial Prompt at X page views
  • And repeat prompt if the user says "Don't Allow" after Y page views


In the example configuration shown in the image above the dialog will first appear on a users first page view on the site after the SDK goes live. And if the user clicks "don't allow" it will appear again after 50 additional page views.

 

If you have a http site but can't work with our https sub-domain and want to use a https subdomain of your own we can support this on request. If your site is http and you want to support Chrome using a https property of your own please Send Us A Request.

The initial permissions dialog and the subsequent pop-up window can be customised to suit your site and can contain a value exchange message explaining what your users can expect if they except notifications.

We will help you get set up with your custom web push notification value exchange window, and send you a custom script to install it. You will even be able to install the script as a Tag with Google Tag Manager. 

Have more questions? Submit a request

0 Comments

Article is closed for comments.