• Resolved robertadchitects

    (@robertadchitects)


    Hello,

    We have currently two popups created – scrolling triggered and exit intent. We want to disable displaying two popups at the same time. So when one popup is being displayed – the second shouldn’t appear. How can we achieve that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Dear @robertadchitects ,

    Thanks for your message!
    Can you, please, send us the website link where popups supposed to appear?
    Also, please, send the screenshots of the Popup Display Rules and Popup Events sections.

    Will be looking forward to hearing from you soon.

    Thread Starter robertadchitects

    (@robertadchitects)

    Hey @sygnoossupport,

    Thank for the answer

    The website: https://sbgfundingstag.wpengine.com/ (it’s a staging version)

    Here’re screenshots you asked about:
    https://ibb.co/f1wTMh8
    https://ibb.co/qM44hqk

    Dear @robertadchitects ,

    Thanks for getting back to us!
    In order to achieve the wanted result, you need to do the following.
    Please insert the given codes into the Custom JS and CSS options’ 1 and 3 fields of your popups:
    https://prnt.sc/u7jqkx
    In this case, you should store custom cookies to be able to detect if any popup opens before.

    1.return SGPBPopup.getCookie(‘popupOpened’)? false : true; – this will check if there is a cookie stored with the name of ‘popupOpened’ it will prevent the popup to be opened
    2. SGPBPopup.setCookie(‘popupOpened’, popupId, 7); – this will store a cookie named ‘popupOpened’ and with popupId value and it will be remembered by the browser for 7 days

    Please, give it a try and let us know about the results.

    Thread Starter robertadchitects

    (@robertadchitects)

    Thank you,

    I’ve modified code a bit to suit my needs but thank yo for pointing the solution!

    Dear @robertadchitects ,

    Thanks for getting back to us.
    You are most welcome.
    We’re marking this thread as resolved.
    Please, submit a new support thread if you need more help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple popups at the same time’ is closed to new replies.