Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Andrey_Osadchuk
Andrey_OsadchukAccepted solution
Level 10
December 18, 2020

Luca, here is one of the options https://www.youtube.com/watch?v=GvrKAzRwsnk

5 replies

yuhuisg
Community Advisor
Community Advisor
December 16, 2020

You need to be able to detect the user's IP address firstly. Since that is impossible in the front-end with JavaScript, you'll need a server-side solution for this.

Translate
Andrey_Osadchuk
Level 10
December 18, 2020
@yuhuisg, I would add that it's possible if a JS code calls an API for retrieving the visitor GEO-IP info. Architecturally, it looks similar to how Target works - at.js calls server that returns data to the page.
Translate
Andrey_Osadchuk
Andrey_OsadchukAccepted solution
Level 10
December 18, 2020

Luca, here is one of the options https://www.youtube.com/watch?v=GvrKAzRwsnk

Translate