Skip to main content

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 😜 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.


Best,

Hristian


Hi Hristian,


Do you have a developer you can recommend?


Thanks,


Kati


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.


Best,

Hristian


Reply