Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Track Country and City Traffic from Adobe Launch

1982luca
Level 8
Level 8

Hello everyone,

 

Any suggestion to track Country and City user login?  Thanks

1 Accepted Solution
Andrey_Osadchuk
Correct answer by
Community Advisor
Community Advisor
3 Replies
yuhuisg
Community Advisor
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.

Andrey_Osadchuk
Community Advisor
Community Advisor
@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.
yuhuisg
Community Advisor
Community Advisor
@Andrey_Osadchuk yes, that's certainly possible, if you know how to write the appropriate script to work with that API.
1982luca
Level 8
Level 8
@Andrey_Osadchuk, I found online your example where you are using MaxMind. Do I need a licence for that?
Andrey_Osadchuk
Correct answer by
Community Advisor
Community Advisor