Is there a possibility to get the ZIP Code instead of the city name

Comments

3 comments

  • Peer Mosch

    For all here is the feedback from DY:

    "Unfortunately, in terms of script implementation, we don't possess a low-level detail in regards to geo-targeting as a zip-code. We only have a high-level condition such as city/country.

    The article you are mentioning in your question is about the server-side API, we do not support this feature for client side."

    Thanks a lot for your answer.

    Comment actions Permalink
  • Sarah Jones

    Hi Peer,

    You could create a DY Evaluator that utilizes our DY.geoCoords API. Then you could write code that checks if the user's coordinates (longitude and latitude) are within the correct range for the zip code in question. If the value returns true, you could create targeting conditions based on that Evaluator.

    Best,
    Sarah

    Comment actions Permalink

Please sign in to leave a comment.