Example of Geomarketing Function | Community
Skip to main content
Level 2
October 4, 2019
Solved

Example of Geomarketing Function

  • October 4, 2019
  • 1 reply
  • 2675 views

Hi Adobe Team,

I would like to use the Distance(Long1,Lat1,Long2,Lat2) function available in ACS standard.

Do you have examples of this function being used with personalization content? For example, Let's conisider a client try to buy a product in a given store but this product is no longer available there. However, it is available in other stores near that location. The aim is to send the client an email where I display the two closest stores where the product is available based on the client last point of sale. (Within a 6-mile radius)

The latitude and Longitude of the orifinal point is known but how can I fetch the latitude an longitude of the closest store within the personalization?

Reagards,

Julius

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Raj_Ganta-1

Hi,

I think we need to know Lat and Long of both the store and the person location. we need to input them in the function to calculate the distance. you can perform the calculation outside the delivery if the lat and long attributes are known.

1 reply

Raj_Ganta-1
Raj_Ganta-1Accepted solution
Level 5
October 8, 2019

Hi,

I think we need to know Lat and Long of both the store and the person location. we need to input them in the function to calculate the distance. you can perform the calculation outside the delivery if the lat and long attributes are known.

Level 2
February 18, 2021
Thanks for the reply. that is exactly what I did. I calculated the lat and long outside the tool. but then what use is there for the distance function in Adobe if not for this specific purpose?