• Resolved steplab

    (@steplab)


    We have added two popup set to display on Homepage.
    When first popup is opened, in browser are not only set the cookie of the popup showed but also the cookie name of the second popup.

    Es.

    popup1
    condition: homepage
    Trigger: auto open, cookie-pop1-12345
    Cookie: On popup close: cookie-pop1-12345

    popup2
    condition: homepage
    Trigger: auto open, cookie-pop2-67890
    Cookie: On popup close: cookie-pop2-67890

    I open homepage, I see opening popup1, I close the popup1, in browser settings the cookie I see is cookie-pop1-12345 that’s right but I see also cookie-pop2-67890 saved in the list, if I try to reload Homepage the popup2 will not open, if I delete cookie and try to reload the home page get the same issue.

    I will also want to manage more than two popup that will displayed in homepage in alternance.

    How to fix this?

    Thanks,
    Valentina

Viewing 5 replies - 1 through 5 (of 5 total)
  • @steplab

    Sorry you’re having difficulties, I’m sure we can this resolved.

    First, can you provide a link to the website in question?

    I will also want to manage more than two popup that will displayed in homepage in alternance.

    Can you explain step-by-step what you mean?

    Thanks.

    Thread Starter steplab

    (@steplab)

    Example of what we want:

    popup1
    condition: homepage
    Trigger: auto open, no cookie
    Cookie: On popup close: cookie-close-pop1

    popup2
    condition: homepage
    Trigger: auto open, no cookie
    Cookie: On popup close: cookie-close-pop2

    I have popup1 and popup2 that have condition to display them in Home page:

    1. I open the website, i’m in the home page

    2. popup1 displayed, I close it (cookie of popup1 start, cookie-close-pop1) [actual error: also cookie of popup2 start]

    3. I read a post

    4. now return to home page, well popup2 is displayed [actual error: popup1 is displayed also if I closed it 1 minute ago]

    5. I close popup2 (cookie of popup2 start, cookie-close-pop2) [actual error: popup2 never displayed]

    5. .. time passed ..

    6. I’m on homepage cookie time of popup1 has expired, well popup1 is displayed, I close it

    7. I refresh the home page, popup2 displayed

    Is that possible?

    customer website

    Thanks

    • This reply was modified 8 years, 3 months ago by steplab.
    • This reply was modified 8 years, 3 months ago by steplab.

    @steplab

    First, to make sure cookies are working as intended:

    Instead of this:
    popup1
    condition: homepage
    Trigger: auto open, no cookie
    Cookie: On popup close: cookie-close-pop1

    It should be this:
    popup1
    condition: homepage
    Trigger: auto open, cookie-close-pop1
    Cookie: On popup close: cookie-close-pop1

    If there’s no cookie attached to the trigger, then it won’t work properly.

    As far as displaying popups alternating as you describe, I don’t think you’re going to be able to achieve that effect just using cookies and cookie times because you can’t predict how long the time gap will be between first Home Page visit and the second Home Page visit.

    However, you could use this to display the two popups randomly.

    I also have our Lead Dev @danieliser take a look as soon as possible.

    Plugin Author Daniel Iser

    (@danieliser)

    @steplab – Another possible option would be to use our Advanced Targeting Conditions extension which has conditions that let you only trigger a popup if a specific cookie exists. That would help with popup2 in your setup and likely make this pretty easy to set up. Once popup1 & popup2’s cookies expire they will trigger again, popup2 will require popup1 to have already been shown first & closed to ever trigger.

    Hope that helps.

    Closing this ticket due to inactivity. If you’re still having an issue, create a new thread, link this one, and we will continue troubleshooting.

    Please take a moment to rate and review our plugin and/or support.

    Also, Advanced Targeting Conditions Extension and Advanced Targeting Conditions Doc might be of interest.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Showing only one popup on home page’ is closed to new replies.