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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

How to access geolocation country, city and zip in client javascript code from Target?


Level 1

If a user has location access turned off in their browser, how can I leverage Target geolocation as a fallback to get their city, country or zipcode?




2 Replies


Community Advisor

Generally, organization use some vendors to identify the user's geo-location like DemandBase, ZoomInfo, KickFire, Terminus...



Level 1

Thanks for your response.  

I ended up creating an activity in Target which would set an element attribute with the latitude and longitude, then had some JS make an Ajax call to our Bing API to get the approximate location.