Expand my Community achievements bar.

SOLVED

Track Country and City Traffic from Adobe Launch

Avatar

Community Advisor

Hello everyone,

 

Any suggestion to track Country and City user login?  Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10
5 Replies

Avatar

Community Advisor

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.

Avatar

Level 10
@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.

Avatar

Community Advisor
@Andrey_Osadchuk yes, that's certainly possible, if you know how to write the appropriate script to work with that API.

Avatar

Community Advisor
@Andrey_Osadchuk, I found online your example where you are using MaxMind. Do I need a licence for that?

Avatar

Correct answer by
Level 10

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