• Welcome to affLIFT!
    We are happy you have decided to check out our awesome affiliate marketing forum. Register your account today to join our amazing community!
  • Get a $50 Free Traffic COUPON from BidVertiser - Valid for Pop Under, Direct Ads, In-Page, Push and Native (mainstream and adult). Use Coupon AFFLIFT50
    Claim your $50 Now!

Guide How to Delay Push Notification Prompts



Staff Member
Community Leader
Apr 17, 2018
I've been playing around with JavaScript on my landing pages quite a bit lately trying to squeeze every penny out of every click and one thing I've been testing is delaying the push notification prompt.

This has come up a few times on the forum, but I am not sure if anyone has explained how to do it. For example, @leidong mentioned it on my thread here:

if mine, i better set timing to loading propush script (after few seconds loading the main offer), for some country especially 3G connection.... network are slow...and the propush also in background...

I'm not sure if this is exactly what he meant, but I started using a setTimeout to delay the push notification prompt from firing for 3-5 seconds. In theory, this allows the rest of your page to load and gives the user a second or two on your landing page before they see the prompt to receive push notifications.

It's VERY simple. All you need to do is wrap your push notification JavaScript in this tag:

     // push notification  javascript goes here
     // for example, you would paste  your ProPush code here
}, 3000);

To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!