Conditional Display Consent if in EU

I want to display a consent checkbox but only if someone is in the EU. I know there is a way to do this with Javascript - I am just not savvy enough to figure it out :stuck_out_tongue_winking_eye: Has anyone had any luck doing this?

Hey @katimdm,

Yes, you can do it through JS but it’s not as simple as one might think.

First, you need an API to tell you where the visitor is actually located. However, doing it through the front-end would lead to some “misfires”. It won’t be accurate 100% of the time.

Once you have that in place, you can trigger your consent box.

It would be best if you hire a developer to help you out.


Hi Hristian,

Do you have a developer you can recommend?



Hi @katimdm,

My own agency does custom development for Unbounce pages or you can try Upwork.

If you want us to give you an estimate, please fill out the form here.