Kelowna
Regular Member
- Oct 30, 2012
- 433
- 202
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...
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.
Willing to paypal someone $25 for the answer to this, and yes the pages are.php, of course the code would have to work in a test to be paid
Any help would be much appreciated, I am new to php so would need sample (cut & paste) type of answers, thanks.
Say I have a visitor to my "Los Angeles" page, and they click over to apply page that has the following link...
Code:
<iframe src="https://website.com/app/iframe?aff_id=5&aff_utm_source=MY_CODE_HERE&product_names=product1,&bgcolor=#ef4541" 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.
Willing to paypal someone $25 for the answer to this, and yes the pages are.php, of course the code would have to work in a test to be paid
Any help would be much appreciated, I am new to php so would need sample (cut & paste) type of answers, thanks.