Okay so I am a major php noob and trying to figure out link cloaking. I am trying to do a redirect while still keeping all my subid's so that I can see my traffic source on my a4d click report. Currently here is what I have,
When I am directing my people to my landing page from traffic source 1 I use the link: mylandingpage.com/?id=1
On my landing page I have a my sign up button which uses the link
adtracker/myaffiliateid/sub1<?=$_GET['id'];?> This works and when I get clicks a4d will show me that my traffic came from source 1, but it shows my affiliate link and is ugly.
So I made my sign up button go to mylandingpage.com/signup.php
signup.php uses a java script redirect followed by a meta refresh to myaffiliatelink/sub1<?=$_GET['id'];?>
The problem that I am getting is that clicks are coming through as blank without my subid's and I assume that is because my id= variable is getting lost when they go to signup.php before it redirects. I am sure there is a really simple solution but despite an hour on google I cannot figure it out. I tried using signup.php/?id=<?=$_GET['id'];?> but that is still not working, so any help or input you can give me would be great.
When I am directing my people to my landing page from traffic source 1 I use the link: mylandingpage.com/?id=1
On my landing page I have a my sign up button which uses the link
adtracker/myaffiliateid/sub1<?=$_GET['id'];?> This works and when I get clicks a4d will show me that my traffic came from source 1, but it shows my affiliate link and is ugly.
So I made my sign up button go to mylandingpage.com/signup.php
signup.php uses a java script redirect followed by a meta refresh to myaffiliatelink/sub1<?=$_GET['id'];?>
The problem that I am getting is that clicks are coming through as blank without my subid's and I assume that is because my id= variable is getting lost when they go to signup.php before it redirects. I am sure there is a really simple solution but despite an hour on google I cannot figure it out. I tried using signup.php/?id=<?=$_GET['id'];?> but that is still not working, so any help or input you can give me would be great.