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?
Page 1 / 1
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
Reply
Log in to the Unbounce Community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.