joined:Jan 3, 2004
I am trying to track visitors locations and pass that info on to a 2nd page but do not have php knowledge to do so. I feel this is really simple for those in the know.
Say I have a visitor to my "Los Angeles" page, and they click over to apply page that has the following link...
<iframe src="https://website.com/app/iframe?aff_id=5&aff_utm_source=MY_CODE_HERE&product_names=product1,&bgcolor=%23ef4541" frameborder="0" scrolling="no"></iframe>
I would like to have this iframe link change to show the city location to change
"&aff_utm_source=MY_CODE_HERE" to show "&aff_utm_source=Los_Angeles_CA"
1- what code do I need to place on say the "Los Angeles" page?
2- what code do I need to insert the "city name" into the "&aff_utm_source=MY_CODE_HERE" part of the url.
Any help would be much appreciated, I am new to php so would need sample (cut & paste) type of answers, thanks.