How to create geo-location based popups/modals?

Hi, Webflow users!

Today I visited the Matt D’Avella “Master YouTube” course’s website and noticed the notification on top of the screen. I think it’s a neat idea to do something like that — people most likely will be more interested in the product this way.

How to build something like this? What about GDPR side of things?

Did you find any solution for this?

Hey @Liandar , I answered your question in FB.

The Webflow-centric approach is;

  • Build your interactions-based popup
  • Write a custom script that queries a GeoIP service for the current visitor’s country
  • If it’s not the US, delete the popup element

I build these- if you need a coder to help, PM me.

Also, there are third party solutions like PopupSmart that may offer this, but they come with a monthly fee and you’re forced to use their template designs.

1 Like

As @memetican answered you, there are various approaches to the question. Personally, now I’m proficient enough to find a script or at least write half-decent one myself.

I think @memetican laid out a pretty good process to solve the issue.

Also, if you are doing ecommerce (not Webflow Ecommerce specifically), then there’s Parity Deals that does exactly what’s shown on the screenshot.