Home >
The Newbie Zone >
Questions and Answers
scripts to display the city and device in lp's (8)
04-10-2016 05:09 PM
#1
dishiinc (Member)
scripts to display the city and device in lp's
hi everyone , hope it's going well
i'm currently editing my lp's for my next campaign and was looking for a script to identify and display the user's city and device in the copy text , i read about maxmind but not sure it will work since i am using amazon for hosting.
if there's anyone who can help me figure it out or point me to a source to learn from i'd appreciate it .
thanks
ofer
04-10-2016 05:21 PM
#2
jimmymob (Senior Member)
What tracking are you using? There are some options for using your trackers data so you don't have to pay for something like Maxmind.
04-10-2016 07:02 PM
#3
dishiinc (Member)
hey jimmymob , i'm using Voluum , checking it out , thanks
04-10-2016 09:42 PM
#4
matuloo (Legendary Moderator)
Voluum can do this for you, look in the LANDERS settings, the URL tokens can pass both CITY and DEVICE to the lander. So with a bit of coding you can use them and display where needed 
04-10-2016 10:27 PM
#5
anty45 (Member)
Hey dishiinc. As mentioned above by matuloo, it's easy to do with Voluum here is a guide: How to show voluum parameters on lander
04-11-2016 07:02 AM
#6
dishiinc (Member)
thank you matuloo and anty45 for you comments , they are well appreciated , started implementing the code in my landers and on the Voluum lander links , it works which is great but not so accurate on the city part, i have to test it a bit more , im might go with phrases like "near city " instead of "in city " so it wont be that akward for the end user , if you have any ideas how to make it more accurate , let me know ,thanks
04-11-2016 10:25 AM
#7
caurmen (Administrator)
@dishiinc - you could try licensing a more accurate database, but that gets complicated and expensive fast.
Overall, it's best just to assume that the city data is never going to be 100% accurate thanks to the way that Internet infrastructure works around the globe.
04-11-2016 03:03 PM
#8
matuloo (Legendary Moderator)

Originally Posted by
caurmen
@dishiinc - you could try licensing a more accurate database, but that gets complicated and expensive fast.
Overall, it's best just to assume that the city data is never going to be 100% accurate thanks to the way that Internet infrastructure works around the globe.
Exactly, its never gonna be 100% accurate in every part of the world. Do exactly what you said you would : words like near, close to, within 30km from ... this is good enough. The country alone usually does well enough and you can still use the universal : "Near YOU"

or from your neighborhood, within 20 miles from your location etc ...
Home >
The Newbie Zone >
Questions and Answers