How to use pop up on Spanish Language pages

Hello support team,

I manage a bilingual website. We are using PopUp Pro to help sign up subscribers for our MailChimp newsletter list. The challenge is that we need to popup two different sign up forms based on the language of the page. We have two different lists in MailChimp, one for English language visitors and the other Spanish language visitors. How can I do this?

Thanks in advance for your help,

Peter

  • Adam Czajczyk

    Hey Peter,

    I hope you're well today and thank you for your question!

    I've checked your site and noticed that you're using a language selector in URL ("?lang=es"). Knowing that I can suggest to turn on the "Advanced URL" conditions option by going to your dashboard's

    "PopUp" -> "Settings" page (scroll down a little)

    Then you need to create a new popup with Spanish content. Having two popups enabled you now can setup conditions:

    A) for English:

    on popup's settings screen turn on the "Not on approximate URL" condition (in "Available Conditions" box) and in the "URL regex (one per line):" box next to it add this:

    lang=es

    B) for Spanish:

    Do the same as above except instead of "Not on approximate URL" condition, use the

    "On approximate URL" condition.

    Let me know if it helps!

    Regards,
    Adam