Customize the Timeout for Dialog Box Campaign Type

Version 1


    When creating a dialog box campaign type in RTP, you can set up the length of time (in seconds) the dialog box will display.


    The provided options include: 5, 10, 30, 60 seconds or Never which means the dialog box displays until clicked on.


    To customize the timeout and set it to any duration you want, see the following:


    1. Set the Timeout to be Never.

    1. Click on HTML. Edit the campaign’s HTML and insert the JavaScript below (also see here):






            }, 1000*


           15 //seconds





    By default this JavaScript will add 15 seconds timeout to your campaign, you can change it to any duration you want by editing the code.


    Also see: Triggering RTP Campaigns with a Delay