Hi there,
I'm using POFPro and I'm still very much a newb when it comes to the technical side of Affiliate Marketing so I could use some help. When it comes to setting up the tracking URL to the offer, how do I insert {age:}, {gender:}, and {state:} dynamic tokens so I can call out those user attributes?
Also, do I still need to add "&s2={subid:}" at the end of my offer URL or can I just do s1={subid:} ?
Lets just say that my unique link from my Affiliate Network is:
http://adstrx.com/?a=10000&c=100&s1=
What does the final URL look like after inserting all the dynamic tokens mentioned?
Then there's also the Custom Token (optional) section when you try to create a new campaign. How does that work?
Thanks for your help.
{age:}, {gender:}, and {state:} is already moved into your LP from POFpro.
In you LP just add this code:
<?php
$age = (isset($_GET['a']) && $_GET['a'] != 0) ? ($_GET['a'] / 235) : '';
$gender = (isset($_GET['g'])) ? (($_GET['g'] == 'bhwdd') ? 'Female' : 'Male') : '';
$state = (isset($_GET['s'])) ? (ucwords(str_replace('xfvcdhs',' ',(substr($_GET['s'],8))))) : '';
?>
Before the </header> tag.
Then to insert:
<?php echo $age ?>
<?php echo $gender ?>
<?php echo $state ?>
where ever you want.
Offer set up:
make subid s2, because networks sometimes get pissed off when you use s1 for click tracking:
http://adstrx.com/?a=10000&c=100&s2={subid:}
In individual campaigns I add the campaigns name as s1 under custom tokens:
&s1=campaignname (only put this, no url or anything)
That way the network can tell me which campaigns are profitable.
Then your post back url should look like this:
http://url.com/pof/tracking/track-po...php?subid=#s2#
Go get em!
Hi sciaq,
If i want to use that php script on my landers, do i have to save my website as index.php instead or index.html will do just fine?
You should save it as index.php to ensure that the PHP code actually gets processed.