Rotating Popups
-
Hi,
I am seeking some more clarity on answer given to a couple of past questions about creating multiple Popups but having them rotate automatically. In past two requests the responses have been to use:
https://docs.wppopupmaker.com/article/313-how-can-i-ab-test-or-randomly-display-popupsThis is fine for me and I have loaded the script into site and it “works” but not how I want it to and I think it is my basic lack of understanding what the script is doing and how I need to setup the Popups in Popup Maker and get the customization of the variables correct within the script. This is what I have done and what happens…..
1. I have two popups and can see their Popup IDs (7560 and 7542) within the plugin.
When inputting into the script is the following correct:
var popups = [7560, 7542], // Comma separated popup IDs.
ie. Do I leave the brackets as above ?
2. The next variable is:
cookie_name = ‘pum-split-test’, // Cookie name for the test only.
What am I required to do with this variable, is it suffice to leave as is ?
3. cookie_time = ‘1 month’, // Cookie timer.
This is ok.After loading the script what is the behaviour I should expect when refreshing the page ? and after selecting Close on the popup ?
What do I need to do with the PopUps themselves within Popup Maker by way of configuration for triggers and targets ?Any help appreciated.
Peter
The topic ‘Rotating Popups’ is closed to new replies.