Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Add a pop up as soon as new user lands on page to ask country.

1 month 2 days ago #1

  • NAKUL's Avatar
  • NAKUL
  • Posts: 21
We have different sites for users based on their country. Can you tell us how can we add a pop up option as soon as new user lands on our page. This option will have list of countries from which you can choose and based on the country, you will be redirected to the respective page.
Just for an example we can see mathworks.com

1 month 2 days ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 14439
Hello,
Thank you for contacting us

You can use the plugin lightbox which will be after entering the page.
Add a formula with country selection to the lightbox and use conditional logic to show the "submit" button with a redirect to the page you need

Regards,
Vyacheslav, Balbooa.com

2 weeks 2 days ago #3

  • NAKUL's Avatar
  • NAKUL
  • Posts: 21
Great that worked perfectly.
Also, what if I want to add a button that just removes the lightbox? This would be needed for native users as they won't need to redirect to a different page.

1 week 5 days ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 14439
Hello,
Thank you for contacting us

It is not entirely clear which button you need,
you can close the lightbox by clicking on the close icon (х)

Regards,
Vyacheslav, Balbooa.com

1 week 2 days ago #5

  • NAKUL's Avatar
  • NAKUL
  • Posts: 21
Yes using "close icon (х)" we can definitely close the lightbox and also by clicking outside the lightbox, it works.
But let's say I want the same functionality as above in a button.
Please visit captaintesseract.ai for reference.
So if user clicks on India button, I want that just the lightbox get closed(the same way as it is doing by clicking on close icon(x)). I don't want to confuse the user to go to button x to obtain native site.
This is to ensure that after clicking India, the same webpage doesn't load again

1 week 2 days ago #6

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 14439
Hello,
Thank you for contacting us

You need to add this code to the button embed code.
onclick="jQuery(this).closest('.ba-lightbox-backdrop').find('.ba-lightbox-close').trigger('click'); event.preventDefault();"

Best Regards,
Vyacheslav, Balbooa Support Team

1 week 2 days ago #7

  • NAKUL's Avatar
  • NAKUL
  • Posts: 21
Exactly!
This works perfectly. Thank you so much :) :) :) :) :)
Fabulous support system.

1 week 2 days ago #8

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 14439
You are welcome.
Let us know if you need more assistance!

Best Regards,
Vyacheslav, Balbooa Support Team
Powered by Kunena Forum