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
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Ignite 1
Level 1
WwHG10
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile

Avatar
Ignite 1
Level 1
WwHG10
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile
WwHG10
Level 1

26-01-2021

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?

 

Thanks,

 Walter

Replies

Avatar

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

131 likes

Total Posts

234 posts

Correct Reply

39 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

131 likes

Total Posts

234 posts

Correct Reply

39 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
Singaiah_Chintalapudi
MVP

26-01-2021

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

 

Avatar

Avatar
Ignite 1
Level 1
WwHG10
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile

Avatar
Ignite 1
Level 1
WwHG10
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile
WwHG10
Level 1

03-02-2021

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.