Home > Questions and Answers > General Questions

Geotargeting Ad Copy? (2)


10-15-2014 08:15 AM #1 ggpaul (Member)
Geotargeting Ad Copy?

Hi, I've seen ads where it has the persons age and state? For ex : "19 y/o single? Need a man from CA?" How did they do that? What code do I have to write to cater to that person?


10-15-2014 08:53 AM #2 zeno (Administrator)

For age, you would pass this in your URL to your tracking system or landing page directly from the traffic source, i.e. using query strings.

How you accomplish this depends on your tracking system, but the fundamentals are the same - http://stmforum.com/forum/showthread...-Read-This-Now

If you have www.domain.com?lander.php?age=19

Then you can 'echo' age into the text like so:

Code:
<p>Are you <?php echo $_GET['age']; ?> and single?</p>


Home > Questions and Answers > General Questions